/* Medical Lead Popup Styles */
.medical-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

.medical-popup-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.medical-popup-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
}

.medical-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.medical-popup-close:hover {
    color: #333;
}

.medical-popup-logo {
    text-align: center;
    margin-bottom: 25px;
}

.medical-popup-logo img {
    max-width: 200px;
    height: auto;
}

.medical-popup-container h2 {
    text-align: center;
    color: #00a98d;
    font-size: 26px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.medical-popup-container p {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin: 0 0 25px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #00a98d;
    box-shadow: 0 0 0 3px rgba(0, 169, 141, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #00a98d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.submit-btn:hover {
    background: #008c75;
}

.skip-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.skip-btn:hover {
    color: #666;
    border-color: #999;
}

#popup-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    display: none;
}

#popup-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#popup-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 480px) {
    .medical-popup-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    .medical-popup-container h2 {
        font-size: 22px;
    }
    
    .medical-popup-logo img {
        max-width: 160px;
    }
}