﻿:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #20c997;
    --bg: #f4f7fb;
    --text: #2d3436;
    --border: #dfe6e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
}

/*=====================================================
LEFT PANEL
======================================================*/

.left-panel {
    background: linear-gradient(135deg,#0d6efd,#20c997);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
}

.branding h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.branding p {
    font-size: 22px;
    opacity: .9;
    margin-bottom: 50px;
}

.features div {
    font-size: 20px;
    margin-bottom: 20px;
}

.features i {
    margin-right: 15px;
    font-size: 24px;
}

/*=====================================================
RIGHT PANEL
======================================================*/

.right-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
}

/*=====================================================
LOGIN CARD
======================================================*/

.login-card {
    width: 450px;
    max-width: 95%;
    background: white;
    border-radius: 18px;
    padding: 45px;
    animation: fadeIn .6s ease;
}

/*=====================================================
LOGO
======================================================*/

.logo-circle {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg,#0d6efd,#20c997);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

/*=====================================================
INPUTS
======================================================*/

.form-control {
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    transition: .3s;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #0d6efd;
    }

.input-group .btn {
    border-radius: 0 12px 12px 0;
}

/*=====================================================
BUTTON
======================================================*/

.btn-primary {
    height: 55px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(13,110,253,.25);
    }

/*=====================================================
FORGOT PASSWORD
======================================================*/

.forgot-link {
    text-decoration: none;
    font-size: 14px;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

/*=====================================================
LOADER
======================================================*/

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.45);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

/*=====================================================
ANIMATION
======================================================*/

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*=====================================================
RESPONSIVE
======================================================*/

@media(max-width:991px) {

    .login-card {
        margin: 20px;
        padding: 35px;
    }

    .branding h1 {
        font-size: 34px;
    }
}

@media(max-width:576px) {

    .login-card {
        width: 100%;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
