/* Five Flavours Login Page Styles */
/* Extracted from app/Controllers/LoginController.php */

.ff-login-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 20px;
}

.ff-login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ff-login-header {
    background: linear-gradient(135deg, #ff6900 0%, #ff8520 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.ff-login-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.ff-login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.ff-login-form {
    padding: 40px 30px;
}

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

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

.ff-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ff-input:focus {
    outline: none;
    border-color: #ff6900;
}

.ff-btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ff-btn-primary {
    background: linear-gradient(135deg, #ff6900 0%, #ff8520 100%);
    color: white;
    padding: 14px 24px;
}

.ff-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ff-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ff-btn-secondary {
    background: white;
    color: #ff6900;
    border: 2px solid #ff6900;
    padding: 10px 20px;
}

.ff-btn-block {
    width: 100%;
}

.ff-btn-sm {
    font-size: 14px;
    padding: 8px 16px;
}

.ff-spinner {
    width: 20px;
    height: 20px;
    animation: ff-spin 1s linear infinite;
}

.ff-spinner-circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
}

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

.ff-alert {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.ff-alert-success {
    background: #f0fdf4;
    border: 2px solid #86efac;
}

.ff-alert-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
}

.ff-alert-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ff-alert-success .ff-alert-icon {
    color: #22c55e;
}

.ff-alert-error .ff-alert-icon {
    color: #ef4444;
}

.ff-alert-content h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #333;
}

.ff-alert-content p {
    margin: 8px 0;
    color: #666;
}

.ff-alert-note {
    font-size: 14px;
    color: #999;
    margin-top: 12px !important;
}

.ff-login-footer {
    padding: 20px 30px;
    background: #f9fafb;
    text-align: center;
}

.ff-text-muted {
    color: #666;
    margin: 8px 0;
}

.ff-text-muted a {
    color: #ff6900;
    text-decoration: none;
}

.ff-text-muted a:hover {
    text-decoration: underline;
}
