* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1447 50%, #2d1b69 100%);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 10px;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.vertical-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #6366f1, transparent);
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 90px);
    padding: 20px;
}

/* Login Card */
.login-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 35px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

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

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* Login Body */
.login-body {
    margin-bottom: 0;
}

/* Form Styles */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: white;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group input:focus {
    background: rgba(30, 41, 59, 0.7);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Error Message */
.error-message {
    display: none;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #fca5a5;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

/* Buttons */
.login-button,
.azure-button {
    position: relative;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
}

.login-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    margin-bottom: 16px;
}

.azure-button {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
}

.login-button:hover,
.azure-button:hover {
    transform: translateY(-2px);
}

.login-button:hover {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.azure-button:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.login-button:active,
.azure-button:active {
    transform: translateY(0);
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
}

.login-icon,
.microsoft-icon {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: rgba(15, 23, 42, 0.9);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
}

.info-icon {
    width: 20px;
    height: 20px;
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.info-link {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 9s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 70%;
    animation-delay: 12s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -100px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .brand-name {
        font-size: 24px;
    }

    .logo-img {
        height: 40px;
    }

    .vertical-divider {
        height: 30px;
    }

    .login-card {
        padding: 40px 30px;
        margin: 20px;
    }

    .login-title {
        font-size: 26px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .lock-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }

    .logo-container {
        gap: 12px;
    }

    .brand-name {
        font-size: 20px;
    }

    .logo-img {
        height: 35px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .button-content {
        font-size: 14px;
    }

    .feature-tags {
        gap: 6px;
    }

    .tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}