* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: rgb(9, 6, 31);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.particles {
    position: absolute;
    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%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}
.login-container {
    background: rgb(32 27 64 / 61%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 45rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

h1 {
    color: #f8fafc;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}
.container{
    margin-bottom: 30px;
}
.subtitle {
    color: #94a3b8;
    font-size: 20px;
    text-align: center;
}
.error{
    color: rgba(119, 22, 22, 0.788);
}
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    background-color: rgb(10, 6, 36);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    color: #f8fafc;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

input::placeholder {
    color: #64748b;
}

.login-btn {
    width: 100%;
    background: #6366F1;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 17px;
}

.login-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99,102,241, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
}

.floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
}

.floating-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    animation: float-1 8s infinite ease-in-out;
}

.floating-2 {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 20px;
    animation: float-2 6s infinite ease-in-out;
}

.floating-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 30px;
    animation: float-3 10s infinite ease-in-out;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-20px) rotate(-90deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-20px) translateX(10px) rotate(120deg); }
    66% { transform: translateY(10px) translateX(-10px) rotate(240deg); }
}

.Go-back {
    text-decoration: none;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 17px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.Go-back:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 1);
    color: white;
    transform: translateY(-1px);
    background-color: rgba(255, 255, 255, 0.1);
}
.Go-back::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.3s ease;
    z-index: 1;
}
.Go-back:hover::before {
    left: 100%;
}