﻿<style >
/* Login Page Styles */
body {
    overflow-x: hidden;
    background-color: #121212;
}

.container-fluid {
    padding: 0;
}

.login-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    overflow: hidden;
    margin-top: -80px; /* Compensate for the fixed header spacing */
}

/* SVG Background Elements */
.login-svg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.login-svg {
    position: absolute;
    opacity: 0.1;
}

.login-svg-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    animation: float 15s ease-in-out infinite;
}

.login-svg-2 {
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    animation: float 20s ease-in-out infinite reverse;
}

.login-svg-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

/* Logo Animation */
.login-logo-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.login-logo {
    width: 120px;
    height: 120px;
    animation: fadeInDown 1s ease-out;
}

.login-logo-svg {
    width: 100%;
    height: 100%;
}

.login-logo-orbit {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: dash 3s linear forwards, rotate 30s linear infinite;
    transform-origin: 100px 100px;
}

.login-logo-planet {
    animation: orbitPlanet 10s linear infinite;
    transform-origin: 100px 100px;
}

/* Form Container */
.login-form-container {
    position: relative;
    z-index: 2;
    width: 400px;
    max-width: 90%;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.login-card {
    background-color: rgba(30, 30, 40, 0.95);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-card-header {
    background: linear-gradient(45deg, #0077B6, #023E8A);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .login-card-header h3 {
        margin: 0;
        font-size: 1.5rem;
    }

.login-card-body {
    padding: 30px;
}

/* Form Elements */
.login-alert {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

    .login-alert i {
        margin-right: 10px;
        font-size: 1.2rem;
    }

.login-input-group {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    background-color: rgba(20, 20, 30, 0.8);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .login-input-group:focus-within {
        box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.5);
        border-color: #0077B6;
    }

.login-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background-color: rgba(0, 119, 182, 0.2);
    color: #0077B6;
}

.login-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    outline: none;
    width: 100%;
}

    .login-input-group input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.login-button-container {
    margin-top: 30px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #0077B6, #023E8A);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .login-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(0, 119, 182, 0.3);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .login-button span {
        margin-right: 10px;
        position: relative;
        z-index: 1;
    }

    .login-button i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .login-button:hover i {
        transform: translateX(5px);
    }

    .login-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, #023E8A, #00B4D8);
        transition: all 0.5s ease;
        z-index: 0;
    }

    .login-button:hover::before {
        left: 0;
    }

/* Test Users Section */
.login-test-users {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

    .login-test-users h6 {
        color: white;
        margin-bottom: 15px;
    }

    .login-test-users ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .login-test-users li {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .login-test-users strong {
        color: #00B4D8;
    }

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.15;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbitPlanet {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-icon {
    animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Hide header and footer on login page */
.login-container ~ footer,
.login-container #header {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-form-container {
        width: 320px;
    }

    .login-card-body {
        padding: 20px;
    }

    .login-logo {
        width: 100px;
        height: 100px;
    }
}

</style >
