/* KSM Secure Pages - Frontend Styles */

.ksm-secure-page-wrapper {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
}

.ksm-secure-page-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ksm-secure-page-form h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.ksm-secure-page-form > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ksm-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.ksm-error-message small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}

.ksm-form-group {
    margin-bottom: 20px;
}

.ksm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.ksm-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ksm-form-group input[type="password"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.ksm-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ksm-submit-btn:hover {
    background: #005a87;
}

.ksm-submit-btn:active {
    background: #004668;
}

/* Responsive */
@media (max-width: 600px) {
    .ksm-secure-page-wrapper {
        margin: 20px;
        padding: 0;
    }
    
    .ksm-secure-page-form {
        padding: 30px 20px;
    }
}
