/*
Theme Name: SmartShort URL Shortener
Theme URI: https://example.com/smartshort
Author: Parves & ChatGPT
Description: URL shortener business theme with ads layout, premium direct links, earnings dashboard, withdraw (BD local / Binance) and manual payment approvals.
Version: 3.6
Text Domain: smartshort
*/

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #111827;
}

a {
    color: #2563eb;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

.smartshort-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}

/* Topbar header nav */
.smartshort-topbar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}
.smartshort-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.smartshort-logo {
    font-weight: 800;
    font-size: 20px;
}
.smartshort-nav a {
    margin-left: 18px;
    font-size: 14px;
}

/* Hero shortener card */
.smartshort-hero {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 18px 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.10);
    margin-bottom: 16px;
}
.smartshort-hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.smartshort-hero-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}
.smartshort-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.smartshort-form-shortener input[type="url"] {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
}
.smartshort-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    display: block;
    margin-bottom: 4px;
}
.smartshort-field-group {
    margin-top: 6px;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.smartshort-radio {
    font-size: 13px;
}
.smartshort-radio input {
    margin-right: 6px;
}
.smartshort-radio small {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-left: 20px;
}
.smartshort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 18px;
    border: none;
    background: linear-gradient(135deg,#4f46e5,#2563eb);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.smartshort-btn:hover {
    opacity: 0.92;
}
.smartshort-btn-primary {
    align-self: flex-start;
}

.smartshort-result {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    font-size: 13px;
}

/* Simple badge */
.smartshort-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    background: #e5e7eb;
    margin-left: 6px;
}
.smartshort-badge-premium {
    background: #22c55e;
    color: #ffffff;
}

/* Shortener AD layout */
.smartshort-ad-layout {
    margin: 6px 0 22px;
}
.smartshort-ad {
    text-align: center;
    background: #e5e7eb;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 13px;
    color: #4b5563;
}
.smartshort-ad-top,
.smartshort-ad-bottom {
    border-radius: 999px;
}
.smartshort-ad-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 12px 0;
}
.smartshort-ad-side {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: #e5e7eb;
}
.smartshort-ad-row .smartshort-hero {
    flex: 1 1 auto;
    margin: 0;
}

/* Pricing cards */
.smartshort-pricing {
    margin-top: 24px;
    margin-bottom: 30px;
}
.smartshort-pricing-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}
.smartshort-pricing-subtitle {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 18px;
}
.smartshort-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.smartshort-pricing-card {
    background: #f9fafb;
    border-radius: 26px;
    padding: 0;
    box-shadow: 0 18px 40px rgba(15,23,42,0.10);
    border: none;
    overflow: hidden;
}
.smartshort-pricing-head {
    position: relative;
    padding: 32px 16px 46px;
    border-radius: 26px 26px 0 0;
}
.smartshort-pricing-card-basic .smartshort-pricing-head {
    background: linear-gradient(135deg, #9333ea, #6366f1);
}
.smartshort-pricing-card-standard .smartshort-pricing-head {
    background: linear-gradient(135deg, #ec4899, #f97316);
}
.smartshort-pricing-card-premium .smartshort-pricing-head {
    background: linear-gradient(135deg, #2563eb, #22c55e);
}
.smartshort-pricing-bubble {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    padding: 8px 26px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15,23,42,0.16);
    color: #ffffff;
    text-align: center;
}
.smartshort-pricing-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    border-radius: 4px;
}
.smartshort-pricing-card-basic .smartshort-pricing-bubble,
.smartshort-pricing-card-basic .smartshort-pricing-bubble::after {
    background: linear-gradient(135deg, #9333ea, #6366f1);
}
.smartshort-pricing-card-standard .smartshort-pricing-bubble,
.smartshort-pricing-card-standard .smartshort-pricing-bubble::after {
    background: linear-gradient(135deg, #ec4899, #f97316);
}
.smartshort-pricing-card-premium .smartshort-pricing-bubble,
.smartshort-pricing-card-premium .smartshort-pricing-bubble::after {
    background: linear-gradient(135deg, #2563eb, #22c55e);
}
.smartshort-pricing-bubble-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.smartshort-pricing-bubble-meta {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.85;
}
.smartshort-pricing-body {
    padding: 40px 18px 22px;
    text-align: left;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 10px 10px;
}
.smartshort-pricing-price {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}
.smartshort-pricing-card-basic .smartshort-pricing-price { color: #7c3aed; }
.smartshort-pricing-card-standard .smartshort-pricing-price { color: #f97316; }
.smartshort-pricing-card-premium .smartshort-pricing-price { color: #059669; }
.smartshort-pricing-price span {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}
.smartshort-pricing-tagline {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}
.smartshort-pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 12px;
    color: #374151;
}
.smartshort-pricing-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.smartshort-bullet {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.smartshort-bullet-ok {
    background: #dcfce7;
    color: #16a34a;
}
.smartshort-bullet-no {
    background: #fee2e2;
    color: #dc2626;
}
.smartshort-pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #ffffff;
}
.smartshort-pricing-card-basic .smartshort-pricing-cta {
    border-color: #a855f7;
    color: #7c3aed;
}
.smartshort-pricing-card-standard .smartshort-pricing-cta {
    border-color: #f97316;
    color: #f97316;
}
.smartshort-pricing-card-premium .smartshort-pricing-cta {
    border-color: #22c55e;
    color: #059669;
}
.smartshort-pricing-cta:hover {
    text-decoration: none;
    opacity: 0.92;
}

/* Columns and cards */
.smartshort-columns {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 16px;
}
.smartshort-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 14px 14px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    margin-bottom: 16px;
}
.smartshort-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.smartshort-card-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Table */
.smartshort-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.smartshort-table th,
.smartshort-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 6px 4px;
    text-align: left;
}
.smartshort-table th {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
}

/* Earnings */
.smartshort-earnings {
    margin-top: 14px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
}
.smartshort-earnings-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.smartshort-earnings-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.smartshort-earnings-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
}
.smartshort-earnings-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
}
.smartshort-earnings-hint {
    font-size: 11px;
    color: #9ca3af;
}

/* Withdraw section */
.smartshort-withdraw {
    margin-top: 16px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.smartshort-withdraw-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.smartshort-withdraw-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 8px;
}
.smartshort-withdraw-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
}
.smartshort-withdraw-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
}
.smartshort-withdraw-hint {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.smartshort-withdraw-message {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f3f4f6;
    margin-bottom: 8px;
}
.smartshort-withdraw-message--ok {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.smartshort-withdraw-message--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.smartshort-withdraw-form .smartshort-withdraw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}
.smartshort-withdraw-form .smartshort-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 3px;
}
.smartshort-withdraw-form input[type="text"],
.smartshort-withdraw-form input[type="number"],
.smartshort-withdraw-form select,
.smartshort-withdraw-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 6px 8px;
    font-size: 12px;
}
.smartshort-withdraw-form textarea {
    resize: vertical;
}

/* Withdraw history */
.smartshort-withdraw-history {
    margin-top: 14px;
}
.smartshort-withdraw-history-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Forms vertical */
.smartshort-form-vertical .smartshort-field {
    margin-bottom: 10px;
}
.smartshort-form-vertical label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}
.smartshort-form-vertical input[type="text"],
.smartshort-form-vertical input[type="email"],
.smartshort-form-vertical input[type="password"],
.smartshort-form-vertical textarea,
.smartshort-form-vertical select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 7px 9px;
    font-size: 13px;
}

/* Waiting page */
.smartshort-waiting-layout {
    margin: 24px auto 40px;
}
.smartshort-waiting-ad {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 4px 0;
}
.smartshort-waiting-ad-top,
.smartshort-waiting-ad-bottom {
    margin-bottom: 10px;
}
.smartshort-waiting-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.smartshort-waiting-ad-side {
    flex: 0 0 140px;
    min-height: 220px;
    background: #e5e7eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.smartshort-waiting {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 20px 18px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.18);
    text-align: center;
}
.smartshort-waiting h2 {
    margin: 0 0 4px;
}
.smartshort-waiting p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #4b5563;
}
.smartshort-waiting-counter {
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0 10px;
}
.smartshort-waiting-progress {
    margin-top: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    padding: 9px 12px;
    font-size: 12px;
    color: #4b5563;
}
.smartshort-waiting-footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
}
.smartshort-waiting-remove {
    font-weight: 500;
}
.smartshort-waiting-arrow {
    font-size: 16px;
}
.smartshort-waiting-skip a {
    color: #2563eb;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .smartshort-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .smartshort-columns {
        grid-template-columns: minmax(0, 1fr);
    }
    .smartshort-withdraw-form .smartshort-withdraw-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .smartshort-ad-row {
        flex-direction: column;
    }
    .smartshort-ad-side {
        min-height: 80px;
        flex-basis: auto;
    }
    .smartshort-waiting-middle {
        flex-direction: column;
    }
    .smartshort-waiting-ad-side {
        min-height: 80px;
        width: 100%;
    }
}
