
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 15px;
    width: 380px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Background overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.overlay.show {
    opacity: 1;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: #1a73e8;
    transform: rotate(90deg);
}

/* Popup content */
.popup-content {
    text-align: center;
}

/* Title */
.popup-content h2 {
    color: #1a73e8;
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Form labels */
.popup-content label {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Input fields */
.popup-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popup-content input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Error messages */
.error-message {
    color: #e60000;
    font-size: 12px;
    text-align: left;
    margin-bottom: 12px;
    display: none;
    font-style: italic;
}

/* Submit button */
.popup-content button {
    background-color: #1a73e8;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-content button:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
}

.popup-content button:active {
    transform: translateY(0);
}

/* Footer text */
.popup-content p {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
    line-height: 1.5;
}
.btn-advice:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
}


.popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.15), rgba(255, 255, 255, 0));
    z-index: -1;
    border-radius: 15px;
}

