﻿ 
 

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 

 
 

/* Mobile Number Input Styles */
.mobile-number-input {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .mobile-number-input.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.country-code-container {
    margin-right: 12px;
}

.country-code {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 0 4px;
}

.input-boxes-container {
    display: flex;
    gap: 4px;
}

.input-box-wrapper {
    width: 35px;
    height: 54px;
}

.mobile-digit-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    border: 1px solid #0d6efd;
    border-radius: 10px;
    background: white;
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .mobile-digit-input:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .mobile-digit-input:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
    }

    .mobile-digit-input.filled {
        border-color: #4CAF50;
        background-color: #f8fff8;
    }

/* Mobile optimizations */
@media (max-width: 480px) {
    .input-box-wrapper {
        width: 35px;
        height: 45px;
    }

    .mobile-digit-input {
        font-size: 18px;
    }

    .input-boxes-container {
        gap: 6px;
    }

    .container {
        padding: 20px;
    }
}

/* Hide number input arrows */
.mobile-digit-input::-webkit-outer-spin-button,
.mobile-digit-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mobile-digit-input[type=number] {
    -moz-appearance: textfield;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

  
/* Validation Messages */
.validation-message {
    margin-top: 8px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

    .validation-message.show {
        display: block;
        animation: slideIn 0.3s ease;
    }

    .validation-message.error {
        background-color: #fee;
        color: #c33;
        border-left: 4px solid #c33;
    }

    .validation-message.success {
        background-color: #efe;
        color: #2a7;
        border-left: 4px solid #2a7;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Results Display */
.results {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    display: none;
}

    .results.show {
        display: block;
        animation: fadeIn 0.5s ease;
    }

.result-item {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

    .result-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.result-label {
    font-weight: 500;
    color: #666;
}

.result-value {
    color: #333;
    font-weight: 500;
    margin-top: 5px;
}
