/* Homepage Lead Form Styles */

form#lead-form{
    padding-top: 30px;
}
form#lead-form input{
    border: 1px solid #999;
    border-radius: 8px;
}
input.lead-email-input.valid{
    border: 1px solid green !important;
}

input.lead-email-input.valid::placeholder {
    color: green !important;
}

input.lead-email-input.invalid {
    border: 1px solid red !important;
}

input.lead-email-input.invalid::placeholder {
    color: red !important;
}

/* Call Center Page */

.ccAdmin-container {
    width: 860px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 auto;
}

.ccAdmin-title {
    font-size: 24px;
    font-weight: 700;
    color: #424242;
    margin-bottom: 10px;
}

.ccAdmin-description {
    font-size: 14px;
    color: #757575;
    margin-bottom: 20px;
}

/* Input Field */
.ccAdmin-input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ccAdmin-input {
    width: 70%;
    padding: 10px;
    border: 2px solid #6200ee;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
}

.ccAdmin-button {
    background: #6200ee;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.ccAdmin-button:hover {
    background: #3700b3;
}

/* Customer Profile */
.ccAdmin-profile-header {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(14, 135, 249, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ccAdmin-profile-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.ccAdmin-profile-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

/* Avatar Card Section - Full Width */
.ccAdmin-avatar-card {
    display: none; /* Initially Hidden */
    width: 100%;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-20px);
}

/* Show Avatar Card with Animation */
.ccAdmin-avatar-card.show {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

/* Avatar Image */
.ccAdmin-avatar-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Customer Name */
.ccAdmin-avatar-card h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

div.ccAdmin-visitor-info h5, div.ccAdmin-visitor-info p, div.ccAdmin-visitor-details h5, div.ccAdmin-visitor-details p{
    text-align: left;
    padding-bottom: 10px;
}



/* Table Animation - Initially Hidden */

.ccAdmin-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show Table when Data is Loaded */
.ccAdmin-table.show {
    opacity: 1;
    transform: translateY(0);
}

.ccAdmin-table th, .ccAdmin-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.ccAdmin-table th {
    background: #6200ee;
    color: white;
}
    
/* Click-to-Call Modal Styles */
.modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.4s ease-in-out;
}

.modal-overlay.show {
    opacity: 1;
    display: flex !important;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.4s ease-in-out;
}

.modal-content h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 16px;
    color: #757575;
    margin-bottom: 15px;
}

/* Countdown Timer with Loader */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #6200ee;
    gap: 15px;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #6200ee;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.phone-icon {
    font-size: 24px;
}

/* Animations */
@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}