/* Popup Overlay */
#clp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup Container */
#clp-popup-container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: left;
}

/* Hidden Class */
.clp-hidden {
    display: none !important;
}

/* Close Button */
#clp-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
}
#clp-close-btn:hover {
    color: #333;
}

/* Form Styles */
#clp-popup-container h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
}

#clp-popup-container p {
    margin-bottom: 15px;
    color: #666;
}

#clp-popup-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

#clp-popup-container input[type="text"],
#clp-popup-container input[type="password"],
#clp-popup-container input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#clp-popup-container .button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* Status Message */
.clp-status-msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    display: none; /* Hidden by default */
}
.clp-status-msg.clp-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.clp-status-msg.clp-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Toggle links */
#clp-popup-container p a {
    color: #0073aa;
    text-decoration: none;
    cursor: pointer;
}

#clp-popup-container p a:hover {
    text-decoration: underline;
}
