/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    /* Light blue-gray background from screenshot */
    color: #333;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 480px;
    /* Mobile width on desktop */
    background-color: #f0f4f8;
    /* Same as body for seamless feel, or white if needed. Screenshot suggests gray bg. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for desktop view */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    display: block;
    height: 32px;
    /* Set a reasonable height for the logo */
    width: auto;
}

.lang-dropdown {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    /* padding-top: 40px; */
}

/* Status Icon */
.status-icon {
    position: relative;
    /* width: 120px; height: 120px; Removed fixed size to fit larger icon */
    /* margin-bottom: 30px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    /* Kept for reference if uncommented, but sizing might need adj */
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #00798C;
    /* Teal color */
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

/* If it is a static progress bar looking like a generic download ring */
.spinner-ring {
    border: 6px solid #daeef1;
    border-top: 6px solid #00798C;
    transform: rotate(-45deg);
    /* Adjust to match screenshot look */
    animation: none;
}

.arrow-down img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

/* Card */
.card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Input Group */
.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    background: #f9f9f9;
    /* padding: 12px; */
    border-radius: 8px;
    margin-bottom: 15px;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    border-right: 1px solid #ddd;
    margin-right: 12px;
}

.phone-icon {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.prefix-text {
    font-size: 18px;
    font-weight: 500;
}

.phone-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 18px;
    width: 100%;
}

/* Button */
.btn-submit {
    width: 100%;
    background: #7AC142;
    /* Green from screenshot */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #68a538;
    /* 3D effect border bottom */
    transition: transform 0.1s;
    animation: pulse-zoom 1.5s infinite ease-in-out;
}

.btn-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #68a538;
    animation: none;
    /* Stop animation on click */
}

@keyframes pulse-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Action Links */
.action-links {
    list-style: none;
    font-size: 15px;
    /* color: #555; */
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Footer Text */
.footer-text {
    /* font-size: 11px; */
    /* color: #666; */
    text-align: center;
    line-height: 1.5;
    max-width: 90%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive Tweaks: mostly default but ensure full width on small screens */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
        box-shadow: none;
    }
}

.center-image {
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .main-content .arrow-down img {
        max-width: 45% !important;
    }
}