.popup-card {
    width: 300px;
    height: 250px;
    padding: 30px;
    background: url('image/Ellipse.jpg'); /* Background image */
    background-size: cover; /* Ensure the image covers the entire area */
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;

    /* Center the popup and bring it to the top */
    position: fixed; /* Positions the popup relative to the viewport */
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%); /* Adjust to true center */
    z-index: 1000; /* Ensure it appears above other elements */
    backdrop-filter: blur(5px);
}

/* Overlay to dim the background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(138, 138, 138, 0.5); /* Semi-transparent */
    z-index: 999; /* Below the popup but above page content */
}

.icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.message p {
    font-size: 16px;
    color: #4C6EF5;
    margin: 5px 0;
}

.message strong {
    font-size: 25px;
    color: #4C6EF5;
    display: block;
}

.thanks-btn {
    margin-top: 20px;
    padding: 8px 50px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    color: #1e1e1f;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 85%;
}

/* email otp */
.otp-popup-card {
    background: #fff;
    border-radius: 12px 12px 0px 0px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100; /* Ensure it appears above other elements */
    backdrop-filter: blur(5px);
    position: fixed; /* Fix it above other content */
    bottom: 0;  /* Position at the bottom of the screen */
    left: 50%;  /* Center horizontally */
    transform: translateX(-50%);  /* Adjust the horizontal centering */
    animation: slideIn 0.5s ease-out; /* Animation for sliding in */
}

/* Keyframe animation for sliding in from bottom */
@keyframes slideIn {
    from {
        transform: translateX(-50%) translateY(100%); /* Start below the viewport */
    }
    to {
        transform: translateX(-50%) translateY(0); /* End at the bottom */
    }
}

.otp-header {
    margin-bottom: 20px;
}

.otp-info {
    font-size: 14px;
    color: #555;
}

.otp-email {
    font-size: 16px;
    font-weight: bold;
}

.edit-email {
    color: #007bff;
    cursor: pointer;
    margin-left: 8px;
}

.otp-input-section {
    margin-bottom: 20px;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-input-container input{
    width: 42px;
    height: 42px;
    text-align: center;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.otp-error-message {
    color: red;
    font-size: 12px;
    margin-top: 10px;
}

.otp-footer {
    margin-top: 20px;
}

.otp-retry-text {
    font-size: 14px;
    color: #777;
}

.otp-timer {
    font-weight: bold;
    color: #333;
}

.otp-close-btn {
    background: #ac2d24;
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    align-items: center;
    padding: 6px 0;
    border-radius: 8px;
    margin-top: 8px;
}

.feedback-textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    resize: none;
    outline: none;
}

.feedback-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.resend-btn {
    background-color: #3a3a3a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.resend-btn:hover {
    background-color: #555;
}