/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0f4c75;
    --primary-green: #6FA83A;
    --text-dark: #2c3e50;
    --text-gray: #666;
    --border-color: #ddd;
    --bg-light: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 15%, var(--bg-light) 15%);
    min-height: 100vh;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    background: var(--primary-blue);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-btn,
.support-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    color: white;
    font-size: 18px;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Login Card */
.login-card {
    background: white;
    padding: 14px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 400;
}

/* Phone Input Row */
.phone-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    min-width: 85px;
}

.flag {
    font-size: 18px;
}

.code {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.phone-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    background: #f8f9fa;
}

.phone-input:focus {
    border-color: #0057B7;
    background: white;
}

.phone-input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

/* Auth Error Message */
.auth-error {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 6px;
    line-height: 1.4;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkmark {
    min-width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--primary-green);
    border-radius: 4px;
    margin-top: 2px;
    position: relative;
}

.checkbox-wrapper input:checked~.checkmark {
    background: var(--primary-green);
}

.checkbox-wrapper input:checked~.checkmark:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-dark);
}

.link {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 600;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background: var(--primary-green);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: white;
    margin: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.action-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-label {
    font-size: 11px;
    color: var(--text-dark);
}

/* News Banner */
.news-banner {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-image: url('logo_24.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.icon-number {
    font-size: 18px;
    font-weight: 700;
    color: white;
    display: none;
}

.news-content {
    flex: 1;
}

.news-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Cards Promo */
.cards-promo {
    background: #d4edda;
    padding: 24px 16px;
    margin: 12px;
    border-radius: 12px;
    text-align: center;
}

.card-visual {
    width: 100px;
    height: 65px;
    background: linear-gradient(135deg, #4a6fa5 0%, #2c4a6e 100%);
    border-radius: 8px;
    margin: 0 auto 16px;
}

.cards-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.cards-subtitle {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.btn-secondary {
    width: 100%;
    padding: 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Password Page */
.password-page {
    padding: 20px 0;
}

.logo-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-image: url('logo_24.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.logo-number {
    font-size: 42px;
    font-weight: 700;
    color: white;
    display: none;
}

.instruction {
    text-align: center;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.input-wrapper {
    margin-bottom: 16px;
}

.text-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    background: #f8f9fa;
}

.text-input:focus {
    border-color: #0057B7;
    background: white;
}

.password-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    background: #f8f9fa;
}

.password-input:focus {
    border-color: #0057B7;
    background: white;
}

.password-input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.password-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.password-input-wrapper .password-input {
    width: 100%;
    padding: 11px 40px 11px 14px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    opacity: 0.7;
}

.forgot-password {
    display: block;
    text-align: left;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 16px;
}

/* PIN Page */
.pin-page {
    padding: 30px 0;
}

.pin-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
}

.pin-dot.filled {
    background: var(--text-dark);
    border-color: var(--text-dark);
}

.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 260px;
    margin: 0 auto;
}

.num-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.num-btn:active {
    transform: scale(0.95);
    background: #f8f9fa;
}

.num-btn-empty {
    visibility: hidden;
}

.num-btn-delete {
    color: #dc3545;
}

/* Hidden Steps */
.step {
    display: none;
}

/* Loading Screen */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 15%, var(--bg-light) 15%);
    z-index: 9999;
    padding: 20px;
}

.loading-page {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 20px auto;
    border: 4px solid rgba(92, 184, 92, 0.3);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
}

/* Call Verification Screen */
#callScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 15%, var(--bg-light) 15%);
    z-index: 9999;
}

.call-page {
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.call-icon {
    width: 120px;
    height: 120px;
    background: rgba(92, 184, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(92, 184, 92, 0);
    }
}

.call-main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.call-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    text-align: center;
}

.call-instruction {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 280px;
    text-align: center;
    margin-top: 20px;
}

/* Call Verification Screen */
#callScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 15%, var(--bg-light) 15%);
    z-index: 9999;
}

.call-page {
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.call-icon {
    width: 120px;
    height: 120px;
    background: rgba(92, 184, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(92, 184, 92, 0);
    }
}

.call-main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.call-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    text-align: center;
}

.call-instruction {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 280px;
    text-align: center;
    margin-top: 20px;
}

/* Call Verification Screen */
#callScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 15%, var(--bg-light) 15%);
    z-index: 9999;
}

.call-page {
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.call-icon {
    width: 120px;
    height: 120px;
    background: rgba(92, 184, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(92, 184, 92, 0);
    }
}

.call-main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.call-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    text-align: center;
}

.call-instruction {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 280px;
    text-align: center;
    margin-top: 20px;
}

/* PIN Numpad - Ultra Compact */
.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    background: white;
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.num-btn:active {
    background: #f0f0f0;
    transform: scale(0.95);
}

.num-btn-empty {
    visibility: hidden;
}

.num-btn-delete {
    color: #dc3545;
}

.pin-page {
    padding: 5px 15px;
}

.instruction {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    text-align: center;
}

.pin-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.pin-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    background: white;
    transition: all 0.3s;
}

.pin-dot.filled {
    background: #6FA83A;
    border-color: #6FA83A;
}

/* Code Verification Screen */
.code-page {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.code-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.4;
}

.code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.code-input {
    width: 50px;
    height: 60px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.code-input:focus {
    outline: none;
    border-color: #6FA83A;
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 168, 58, 0.1);
    transform: translateY(-1px);
}

.code-input.error {
    border-color: #dc3545;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Code Verification Screen */
.code-page {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.code-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.4;
}

.code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.code-input {
    width: 50px;
    height: 60px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.code-input:focus {
    outline: none;
    border-color: #6FA83A;
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 168, 58, 0.1);
    transform: translateY(-1px);
}

.code-input.error {
    border-color: #dc3545;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Phone Error Screen */
.phone-error-page {
    text-align: center;
    padding: 30px 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-icon {
    font-size: 56px;
    margin-bottom: 12px;
    animation: shake 0.5s;
}

.error-title {
    font-size: 18px;
    font-weight: 700;
    color: #e57373;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.4;
}

.error-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.phone-error-input {
    width: 100%;
    max-width: 300px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    background: #fafafa;
    transition: all 0.3s ease;
    text-align: center;
}

.phone-error-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 168, 58, 0.1);
}

.phone-error-input::placeholder {
    color: #999;
}

/* Input group with flag (for phone error screen) */
.phone-error-page .input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.phone-error-page .flag-icon {
    position: absolute;
    left: 12px;
    font-size: 20px;
    z-index: 1;
    pointer-events: none;
}

.phone-error-page .phone-input {
    padding-left: 45px !important;
}

/* Password Error Screen */
.password-error-page {
    text-align: center;
    padding: 30px 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Password input wrapper for error screen */
.password-error-page .password-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.password-error-page .password-input-wrapper .input-field {
    width: 100%;
    padding-right: 45px;
}

.password-error-page .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6fa83a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.3s ease;
}

.password-error-page .toggle-password:hover {
    color: #5a8a2f;
}

.password-error-page .toggle-password svg {
    width: 20px;
    height: 20px;
}


/* Ban Screen Animation */
@keyframes rocketLaunch {

    0%,
    100% {
        transform: translateY(0) rotate(-45deg);
    }

    50% {
        transform: translateY(-20px) rotate(-45deg);
    }
}

/* Honeypot Trap - Hidden fields for bot detection */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hp-link {
    display: none !important;
    visibility: hidden !important;
}

/* ============= FULLSCREEN SPLASH SCREEN ============= */

.fullscreen-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.splash-content {
    position: relative;
    z-index: 10001;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: splashFadeIn 0.4s ease-out;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.splash-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.splash-logo svg {
    filter: drop-shadow(0 4px 12px rgba(92, 184, 92, 0.3));
}

.splash-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.splash-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 28px 0;
}

.splash-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #5CB85C 0%, #4CAF50 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.splash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.4);
}

.splash-btn:active {
    transform: translateY(0);
}

/* Invisible exit button (top right corner, for mobile) */
.exit-fullscreen-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 9999;
    opacity: 0;
    cursor: pointer;
    /* Invisible but clickable */
}

/* ============= LOADING SCREEN ============= */

.loading-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 40px 20px 20px 20px;
}

.loading-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0 40px 0;
}

.loading-logo {
    width: 135px;
    height: 135px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.loading-spinner {
    position: absolute;
    width: 145px;
    height: 145px;
    border: 4px solid rgba(92, 184, 92, 0.15);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 0 0;
}


/* ============= CALL SCREEN ============= */

.call-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px 20px 20px;
}

.call-main-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    text-align: center;
}

.call-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: center;
}

.call-icon {
    width: 140px;
    height: 140px;
    background: rgba(92, 184, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 60px 0 40px 0;
    animation: phoneRing 1.5s ease-in-out infinite;
    position: relative;
}

.call-icon::before,
.call-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(92, 184, 92, 0.4);
    animation: ripple 2s ease-out infinite;
}

.call-icon::after {
    animation-delay: 1s;
}

@keyframes phoneRing {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    10%,
    30% {
        transform: rotate(-15deg) scale(1.05);
    }

    20%,
    40% {
        transform: rotate(15deg) scale(1.05);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.call-instruction {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 300px;
    line-height: 1.5;
    margin: 0;
}

.call-header {
    text-align: center;
}

.call-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Animated loading dots */
.loading-text::after {
    content: '...';
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}