﻿/* Import Roboto font with various weights */
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,100,700,500);

/* ===== Base Styles ===== */
body {
    padding-top: 7%;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

label {
    font-weight: 300;
}

/* ===== Card Components ===== */
.card {
    border-radius: 5px;
}

/* Login Card - Main Container */
.card-login {
    max-width: 550px;
    margin: auto;
    border: solid 1px gray;
    /* Subtle box shadow for depth */
    -webkit-box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
    -moz-box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
    box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
}

    .card-login .form-group {
        padding: 0 30px;
    }

    /* ===== Form Input Styles ===== */
    .card-login input[type="text"],
    .card-login input[type="email"],
    .card-login input[type="password"] {
        height: 45px;
        border: 0;
        font-size: 16px;
        padding: 6px 15px;
        /* Remove default shadows and borders */
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-bottom: 1px solid #e7e7e7;
        border-radius: 0;
        /* Smooth transitions for interactions */
        -webkit-transition: all 0.1s linear;
        -moz-transition: all 0.1s linear;
        -o-transition: all 0.1s linear;
        transition: all 0.1s linear;
    }

    /* Input hover and focus states */
    .card-login input:hover,
    .card-login input:focus {
        outline: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-color: #ccc;
    }

    /* ===== Checkbox Styles (Custom styled checkbox) ===== */
    .card-login .checkbox {
        padding-left: 20px;
    }

        .card-login .checkbox label {
            padding-left: 25px;
            font-weight: 300;
            display: inline-block;
            position: relative;
        }

        /* Hide the default checkbox */
        .card-login .checkbox input[type="checkbox"] {
            opacity: 0;
        }

        /* Custom checkbox - outer box */
        .card-login .checkbox label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            border: 1px solid #cccccc;
            border-radius: 3px;
            background-color: #fff;
            /* Smooth transitions for checkbox states */
            -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -moz-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        }

        /* Custom checkbox - inner area (for checkmark) */
        .card-login .checkbox label::after {
            display: inline-block;
            position: absolute;
            width: 16px;
            height: 16px;
            left: 0;
            top: 0;
            padding-left: 3px;
            padding-top: 1px;
            font-size: 11px;
            color: #555555;
        }

        /* Focus state for custom checkbox */
        .card-login .checkbox input[type="checkbox"]:focus + label::before {
            outline: thin dotted;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }

/* ===== Button Styles ===== */
.btn-login {
    background-color: #E8E9EC;
    outline: none;
    color: #2D3B55;
    font-size: 14px;
    height: auto;
    font-weight: normal;
    padding: 14px 0;
    text-transform: uppercase;
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

    /* Button hover and focus states */
    .btn-login:hover,
    .btn-login:focus {
        color: #fff !important;
        background-color: #2D3B55 !important;
    }

/* ===== Utility Classes ===== */
/* Disabled state for anchor links */
a.disabled {
    pointer-events: none;
    cursor: default;
}

/* Logo styling */
.logo {
    height: 150px;
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    /* Add subtle shadow to logo in dark mode for better visibility */
    .logo {
        -webkit-box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
        -moz-box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
        box-shadow: 0px 0px 49px 14px rgba(188, 190, 194, 0.05);
    }
}
