/* Modern Login Page Styles for EJOHAZAZA */
:root {
    --primary-color: #0d9488;
    --primary-hover: #0f766e;
    --primary-dark: #115e59;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.98);
}

body.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #134e4a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    margin: 0;
    color: var(--text-dark);
}

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.brand-side {
    flex: 1 1 42%;
    background: linear-gradient(145deg, #0f766e, #115e59);
    color: #ffffff;
    padding: 44px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-logo-container {
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    margin-bottom: 18px;
    padding: 4px;
}
.brand-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    color: #ffffff;
}
.brand-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #99f6e4;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.brand-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #ccfbf1;
}

.brand-features {
    margin: 24px 0;
    list-style: none;
    padding: 0;
}
.brand-features li {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e6fffa;
}

.brand-footer {
    font-size: 12px;
    color: #99f6e4;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 14px;
}

.form-side {
    flex: 1 1 58%;
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.form-header {
    margin-bottom: 26px;
}
.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}
.form-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.custom-form-group {
    margin-bottom: 20px;
}
.custom-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrapper {
    position: relative;
}
.input-icon-wrapper i.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.custom-input {
    width: 100%;
    height: 46px;
    padding: 8px 14px 8px 40px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
}
.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}
.password-toggle:hover {
    color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
    transform: translateY(-1px);
}

.alert-custom {
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-credit {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.footer-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-wrapper { flex-direction: column; }
    .brand-side { padding: 28px 20px; }
    .form-side { padding: 30px 20px; }
}
