/**
 * DCS Member Status Check - Styles
 */

.dcs-member-status-check-wrapper {
    position: relative;
    z-index: inherit;
}

/* Ensure compatibility with Elementor popups */
.elementor-popup-modal .dcs-member-status-check-wrapper {
    position: static;
    z-index: auto;
}

.dcs-member-status-check-form {

}

.dcs-form-title {
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.dcs-form-group {
    margin-bottom: 20px;
}

.dcs-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.dcs-form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.dcs-form-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.dcs-form-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.dcs-form-button {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.dcs-form-button:hover:not(:disabled) {
    background-color: #005a87;
}

.dcs-form-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.dcs-form-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Loading spinner */
.dcs-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dcs-spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes dcs-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
.dcs-form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.dcs-form-message p {
    margin: 0;
}

.dcs-message-error {
    background-color: #fef3f3;
    border: 1px solid #f8d7da;
    color: #721c24;
}

.dcs-message-success {
    background-color: #f0f9f3;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Responsive */
@media (max-width: 768px) {
    .dcs-member-status-check-wrapper {
        padding: 15px;
    }

    .dcs-member-status-check-form {
        padding: 20px;
    }

    .dcs-form-title {
        font-size: 20px;
    }

    .dcs-form-input,
    .dcs-form-button {
        font-size: 14px;
    }
}
