body {
    background:none;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sandvik Sans', Tahoma, Verdana, sans-serif;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

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

.login-header {
    background: none;
    color: white;
    padding: 0px;
    text-align: center;
}

.login-header img {
    max-width: 60%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0 8px;
    color: white;
}

.login-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

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

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

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

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    position: absolute;
    left: 15px;
    color: #999;
    z-index: 1;
}

.form-control {
    padding-left: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 48px;
}

.form-control:focus {
    border-color: #34a853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #34a853 0%, #2d8659 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    height: 48px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d8659 0%, #1e5a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 168, 83, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-loading {
    opacity: 0.8;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

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

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.message.show {
    display: block;
}

.message.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.message.success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

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

.back-link {
    color: #34a853;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #2d8659;
    gap: 10px;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.otp-input:focus {
    border-color: #34a853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.1);
    outline: none;
}

.otp-timer {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 20px 0;
}

.timer {
    font-weight: 700;
    color: #34a853;
}

.otp-timer.expired .timer {
    color: #dc3545;
}

.resend-otp {
    text-align: center;
    margin-top: 20px;
}

.resend-otp a {
    color: #34a853;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resend-otp a:hover:not(.disabled) {
    color: #2d8659;
}

.resend-otp a.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.login-step {
    display: none;
}

.login-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-footer {
    text-align: center;
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 12px;
}

.login-footer a {
    color: #34a853;
    text-decoration: none;
}

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

/* Divider between login methods */
.divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:20px 0;
}
.divider::before, .divider::after{
    content:'';
    flex:1 1 0;
    height:1px;
    background:none;
}
.divider span{
    font-size:13px;
    color:#888;
    white-space:nowrap;
}

/* SSO button */
.btn-sso{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    padding:10px 14px;
    border-radius:8px;
    background:#1f6feb;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    transition:all 0.18s ease;
    box-shadow:0 6px 18px rgba(31,111,235,0.12);
}
.btn-sso:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgba(31,111,235,0.18);
}
.btn-sso.btn-loading{
    opacity:0.8;
}
