/* Custom Branding for webmail.yarconsult.my */
:root {
    --brand-primary: #e0cfc8;
    --brand-primary-hover: #ffffff;
    --brand-bg: #18181b;
}

/* Background for YAR Consult */
#rl-app {
    background: radial-gradient(circle at 50% 30%, #1c1917 0%, #0c0a09 100%) !important;
}

/* Login Card Logo */
.LoginView form::before {
    content: '';
    display: block;
    width: 220px;
    height: 110px;
    margin: 0 auto 20px auto;
    background-image: url('/branding/yar-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Login form styling */
.LoginView form {
    background: rgba(24, 24, 27, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(224, 207, 200, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Inputs styling */
.LoginView form .controls input {
    background: rgba(12, 10, 9, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #f5f5f4 !important;
    transition: all 0.2s ease !important;
}
.LoginView form .controls input:focus {
    border-color: #e0cfc8 !important;
    box-shadow: 0 0 0 3px rgba(224, 207, 200, 0.2) !important;
}

/* Button styling */
.LoginView form .buttonLogin,
.buttonCompose {
    background: linear-gradient(135deg, #e0cfc8 0%, #c4b5ad 100%) !important;
    border: none !important;
    color: #1c1917 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(224, 207, 200, 0.25) !important;
    transition: all 0.2s ease !important;
}
.LoginView form .buttonLogin:hover,
.buttonCompose:hover {
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.35) !important;
}
