/* ezresolve.org - Pro Mobile Card SaaS Styles & Light Theme Support */

*, *::before, *::after {
    box-sizing: border-box !important;
}

.studio-container {
    display: flex;
    gap: 20px;
    max-width: 1450px;
    margin: 20px auto;
    padding: 0 15px;
    align-items: flex-start;
}

.control-panel {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-sizing: border-box;
}

.control-panel-heading {
    margin-top: 0;
    color: #3b82f6;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.control-panel-subheading {
    color: #3b82f6;
    border-bottom: 1px dashed var(--border-color);
    margin: 15px 0 10px 0;
    padding-bottom: 3px;
    font-size: 11px;
}

.control-panel-desc {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 15px;
    line-height: 1.4;
}

.saas-info-box {
    margin-top: 0;
    margin-bottom: 20px;
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 15px;
    border-radius: 8px;
}

.saas-title-free {
    color: #10b981;
    font-size: 13px;
    font-weight: bold;
}

.saas-title {
    font-size: 12px;
    margin-top: 10px;
    font-weight: bold;
    color: var(--text-main, #f8fafc);
}

.saas-list {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin: 5px 0 10px 18px;
    padding: 0;
}

.saas-list li {
    margin-bottom: 4px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-remove-watermark {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.preview-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    min-width: 320px;
}

/* === CARD WIDGET DARK DEFAULT === */
.old-school-card {
    width: 100%;
    max-width: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 580px;
    background-color: #11151c;
    border: 12px solid #3b82f6;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.old-school-card.mode-yellow {
    border-color: #f59e0b !important;
}

.card-header-link {
    display: block;
    background-color: transparent;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    padding: 15px 10px;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #1f2937;
}

.card-body-box {
    padding: 25px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lblCardName {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #ffffff;
}

#lblCardTitle {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.divider-line {
    width: 50px;
    height: 3px;
    background-color: #3b82f6;
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.old-school-card.mode-yellow .divider-line {
    background-color: #f59e0b !important;
}

.phone-row {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-row {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.qr-wrapper {
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.qr-wrapper img {
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
}

/* === SOCIAL MEDIA & ECOSYSTEM BUTTONS === */
.card-social-box, .card-links-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.card-social-grid {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.social-icon-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    color: white !important;
    text-transform: uppercase;
}

.social-btn-wa { background: #25d366; }
.social-btn-fb { background: #1877f2; }
.social-btn-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.card-link-btn-brosur, .card-link-btn-website {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.card-link-btn-brosur {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #10b981 !important;
}

.card-link-btn-website {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid #3b82f6;
    color: #3b82f6 !important;
}

/* === LIGHT THEME CARD OVERRIDES === */
body.light-theme .old-school-card {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15) !important;
}

body.light-theme .old-school-card.mode-yellow {
    border-color: #d97706 !important;
}

body.light-theme .card-header-link {
    color: #0f172a !important;
    border-bottom-color: #e2e8f0 !important;
}

body.light-theme .card-body-box {
    color: #0f172a !important;
}

body.light-theme #lblCardName {
    color: #0f172a !important;
}

body.light-theme #lblCardTitle {
    color: #475569 !important;
}

body.light-theme .phone-row {
    color: #1d4ed8 !important;
}

body.light-theme .meta-row {
    color: #64748b !important;
}

body.light-theme .smart-badges-grid .badge-node {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

/* Footer & Overlay */
.standard-footer {
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
}
.copyright-trigger-span { cursor: pointer; text-decoration: underline; }

/* ezresolve.org - Light Theme Smart Badges Soft Blue Background Override */
body.light-theme .smart-badges-grid {
    background-color: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 10px !important;
    padding: 8px !important;
}

body.light-theme .smart-badges-grid .badge-node {
    background-color: #ffffff !important;
    color: #1e40af !important;
    border: 1px solid #93c5fd !important;
    font-weight: 700 !important;
}

/* --- RESTORED MISSING STYLES (HEADER & DOWNLOAD BUTTON) --- */
.studio-header-banner {
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 15px;
    max-width: 1450px;
    margin: 20px auto 0 auto;
}
.studio-header-desc {
    color: var(--text-muted, #94a3b8);
    margin: 0;
    font-size: 14px;
}
.btn-download-webp {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}
.btn-download-webp:hover {
    opacity: 0.9;
}
