:root {
    --mindworx-orange: #F36F21;
    --mindworx-orange-hover: #D95E16;
    --text-primary: #162238;
    --text-secondary: #667085;
    --border-color: #D0D5DD;
    --white: #FFFFFF;
}

/* ========================================= */
/* Body & Background */
/* ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #F36F21;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ========================================= */
/* Login Card Container */
/* ========================================= */
.login-card,
.login-container {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border: none;
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Titles */
.brand-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 10px 25px -5px rgba(243, 111, 33, 0.2);
    padding: 6px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.title,
.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #162238;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.subtitle,
.login-subtitle {
    font-size: 14px;
    color: #667085;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 24px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #2563eb;
}

/* Form controls & inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label,
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #162238;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i,
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #F36F21;
    font-size: 15px;
    transition: color 0.2s;
}

.toggle-password {
    position: absolute;
    right: 14px;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #98A2B3 !important;
    font-size: 15px;
    transition: color 0.2s;
    z-index: 10;
}

.toggle-password:hover {
    color: #F36F21 !important;
}

.form-control,
.input-wrapper input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    background: #FFFFFF;
    color: #162238;
    border: 1px solid #D0D5DD;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    padding-right: 40px;
}

.form-control::placeholder,
.input-wrapper input::placeholder {
    color: #98A2B3;
}

.form-control:focus,
.input-wrapper input:focus {
    border-color: #F36F21;
    box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.15);
    background: #FFFFFF;
}

.input-wrapper input:focus + i,
.form-control:focus + i {
    color: #F36F21;
}

/* Sign In Button */
.login-btn,
.login-button {
    width: 100%;
    background: #F36F21;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover,
.login-button:hover {
    background: #D95E16;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(243, 111, 33, 0.30);
}

.login-btn:active,
.login-button:active {
    transform: translateY(0);
}

/* Links */
.forgot-password {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 20px;
}

.forgot-password a,
.create-account a,
.signup-link a {
    color: #F36F21;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover a,
.forgot-password a:hover,
.create-account:hover a,
.create-account a:hover,
.signup-link a:hover {
    color: #D95E16;
}

.signup-link,
.create-account {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #667085;
}

/* Footer Note */
.login-footer,
.footer-note {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #667085;
}
