﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter","Segoe UI",sans-serif;
}


.hrms-header {
    background: #0f172a;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    min-height: 68px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, .25);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #dbeafe;
}

.brand-subtitle {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: -3px;
}

.header-link {
    color: #475569 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 13px !important;
    border-radius: 8px;
    transition: .2s ease;
}

    .header-link:hover,
    .header-link.active {
        background: #eff6ff;
        color: #2563eb !important;
    }

.header-icon {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

    .header-icon:hover {
        background: #eff6ff;
        color: #2563eb;
    }

.profile {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #dbeafe;
}

.profile-role {
    font-size: 11px;
    color: #64748b;
}

.website-footer {
    width:100%;
    background: #0f172a;
    color: #94a3b8;
}

.footer-top {
    padding: 60px 0 45px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #2563eb, #4f46e5 );
    color: #ffffff;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
}

.footer-brand-name {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

.footer-description {
    max-width: 380px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 11px;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 14px;
        transition: all .2s ease;
    }

        .footer-links a:hover {
            color: #60a5fa;
            padding-left: 4px;
        }

/* Contact */

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 14px;
}

    .footer-contact i {
        color: #60a5fa;
        font-size: 16px;
        margin-top: 2px;
    }

/* Social */

.social-links {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    text-decoration: none;
    transition: all .25s ease;
}

    .social-link:hover {
        background: #2563eb;
        color: #ffffff;
        transform: translateY(-3px);
    }

/* Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}

.copyright {
    font-size: 13px;
    color: #64748b;
}

.bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
}

    .bottom-links a {
        color: #64748b;
        text-decoration: none;
        font-size: 13px;
    }

        .bottom-links a:hover {
            color: #60a5fa;
        }

.version {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    color: #94a3b8;
    font-size: 11px;
}

/* Mobile */

@media (max-width: 767px) {

    .footer-top {
        padding: 45px 0 30px;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .bottom-links {
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .copyright {
        text-align: center;
    }
}



.bg {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#0f172a,#1e40af,#0f766e);
    font-family: "Inter","Segoe UI",sans-serif;
}


.container {
    width: 1100px;
    max-width: 95%;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    z-index: 2;
}

.options {
    display: flex;
    justify-content: right;
    font-size: 14px;
    margin-bottom: 55px;
}



    .options a {
        color: #2563eb;
        text-decoration: none;
    }




/* BRAND DASHBOARD */
.brand {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideLeft 1s ease;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animated Background */
.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .35;
    animation: float 10s infinite ease-in-out;
}

    .circle.one {
        width: 350px;
        height: 350px;
        background: #38bdf8;
        top: -100px;
        left: -80px;
    }

    .circle.two {
        width: 280px;
        height: 280px;
        background: #a78bfa;
        bottom: -80px;
        right: -60px;
        animation-delay: 2s;
    }

    .circle.three {
        width: 200px;
        height: 200px;
        background: #34d399;
        top: 40%;
        left: 40%;
        animation-delay: 4s;
    }


@keyframes float {
    0%,100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.1);
    }
}

.logo {
    width: 150px;
    height: 90px;
    border-radius: 25px;
    background: linear-gradient(135deg,#ffffff,#dbeafe);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.brand h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.brand p {
    max-width: 520px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.7;
}
/* Dashboard Cards */
.stats {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 16px;
    width: 140px;
    border: 1px solid rgba(255,255,255,.2);
}

    .stat-card h3 {
        font-size: 25px;
    }

    .stat-card span {
        font-size: 13px;
        color: #dbeafe;
    }
/* LOGIN */
.login-card {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 70px rgba(0,0,0,.3);
    animation: zoomIn 1s ease;
}


.custom-form-group {
    position: relative;
    margin-bottom: 1.2rem;
}

    .custom-form-group select {
        height: calc(2.4rem + 2px);
        padding: 0.6rem 1rem 0.2rem 1rem;
    }

    .custom-form-group input[type="file"] {
        height: calc(2.4rem + 2px);
        padding: 0.6rem 1rem 0.2rem 1rem;
        font-family: Open Sans !important;
    }

    .custom-form-group textarea {
        height: calc(2.4rem + 2px);
        padding: 0.6rem 1rem 0.2rem 1rem;
    }

    .custom-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
        margin-bottom: 8px;
    }

    .custom-form-group span {
        position: absolute;
        top: -0.4rem;
        right: 0.1rem;
        height: calc(2.3rem + 2px);
        padding: 0.5rem 1rem;
        pointer-events: none;
        transition: all 0.1s ease-in-out;
        color: #ff0000;
        font-size: 0.9rem;
    }

    .custom-form-group input {
        width: 100%;
        height: 50px;
        border-radius: 14px;
        border: 1px solid #cbd5e1;
        background: #FFFFFF;
        padding: 0 16px;
        font-size: 15px;
        outline: none;
    }

        .custom-form-group input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 4px rgba(37,99,235,.15);
        }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-card h2 {
    color: #0f172a;
    font-size: 30px;
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

.login-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg,#2563eb,#0f766e);
    transition: .3s;
}

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(37,99,235,.35);
    }

.security {
    margin-top: 25px;
    padding: 15px;
    border-radius: 14px;
    background: #f0fdfa;
    color: #115e59;
    font-size: 13px;
}
/* MOBILE */
@media(max-width:900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .brand {
        display: none;
    }

    .login-card {
        margin: auto;
    }
}


.back {
    text-align: center;
    margin-top: 25px;
}



    .back a {
        color: #0066ff;
        font-weight: 600;
        text-decoration: none;
    }


.logout-box {
    width: 500px;
    padding: 55px;
    text-align: center;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(30,64,175,.18);
    animation: show .8s ease;
}

    .logout-box h1 {
        margin-top: 30px;
        color: #1e3a8a;
        font-size: 32px;
    }

    .logout-box p {
        color: #64748b;
        margin: 15px 0 35px;
        line-height: 1.6;
    }


.logout {
    flex: 1;
    padding: 15px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
    color: white;
    background: linear-gradient(90deg,#2563eb,#0284c7);
}

.cancel {
    flex: 1;
    padding: 15px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
    background: #f1f5f9;
    color: #334155;
}


@keyframes show {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Icon */
.logout-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#2563eb,#06b6d4);
    color: white;
    font-size: 42px;
    animation: pulse 2s infinite;
}

.actions {
    display: flex;
    gap: 15px;
}

@keyframes pulse {
    50% {
        transform: scale(1.08);
    }
}

.footer {
    margin-top: 35px;
    color: #94a3b8;
    font-size: 13px;
}

@media(max-width:600px) {
    .logout-box {
        width: 90%;
        padding: 40px 25px;
    }

    .actions {
        flex-direction: column;
    }
}



@keyframes err-message {
    0% {
        left: 0px;
        top: 0px;
        opacity: 0;
    }

    25% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }

    90% {
        left: 0px;
        top: 00px;
        opacity: 1;
    }

    100% {
        left: 0px;
        top: 20px;
        opacity: 0;
    }
}

@-webkit-keyframes err-message {
    0% {
        left: 0px;
        top: 0px;
        opacity: 0;
    }

    25% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }

    90% {
        left: 0px;
        top: 00px;
        opacity: 1;
    }

    100% {
        left: 0px;
        top: 20px;
        opacity: 0;
    }
}

@-moz-keyframes err-message {
    0% {
        left: 0px;
        top: 0px;
        opacity: 0;
    }

    25% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }

    90% {
        left: 0px;
        top: 00px;
        opacity: 1;
    }

    100% {
        left: 0px;
        top: 20px;
        opacity: 0;
    }
}

@-o-keyframes err-message {
    0% {
        left: 0px;
        top: 0px;
        opacity: 0;
    }

    25% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }

    90% {
        left: 0px;
        top: 00px;
        opacity: 1;
    }

    100% {
        left: 0px;
        top: 20px;
        opacity: 0;
    }
}

.hr-error {
    z-index: 999999999;
    width: 400px;
    position: fixed;
    margin-left: 36%;
    margin-right: auto;
    margin-top: 2%;
    animation: err-message 3s forwards;
    -moz-animation: err-message 3s forwards;
    -o-animation: err-message 3s forwards;
    -webkit-animation: err-message 3s forwards;
}


.alert {
    width: auto;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}


.warning {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}


.closebtn {
    margin-left: 15px;
    color: #856404;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .closebtn:hover {
        color: black;
    }

.copyrightbar {
    padding: 10px;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: 35px;
    color: #94a3b8;
    font-size: 13px;
}
