/* FinPress Login Shortcode Styles */

.finpress-login-container {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.finpress-login-box {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.finpress-login-header {
    background: #0073aa;
    color: white;
    padding: 20px;
    text-align: center;
}

.finpress-login-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.finpress-login-body {
    padding: 30px;
}

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

.finpress-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.finpress-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.finpress-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.finpress-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.finpress-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.finpress-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-align: center;
}

.finpress-btn:hover {
    transform: translateY(-1px);
}

.finpress-btn-primary {
    background: #0073aa;
    color: white;
}

.finpress-btn-primary:hover {
    background: #005a87;
    color: white;
}

.finpress-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.finpress-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

.finpress-btn-block {
    display: block;
    width: 100%;
}

.finpress-form-footer {
    margin-top: 15px;
    text-align: center;
}

.finpress-form-footer a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.finpress-form-footer a:hover {
    text-decoration: underline;
}

.finpress-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .finpress-login-container {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .finpress-login-box {
        max-width: 100%;
    }
}

/* Already Logged In State */
.finpress-login-box p {
    margin: 15px 0;
}

.finpress-login-box p a {
    display: inline-block;
    margin-top: 10px;
}
