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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 150, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

/* Corner Brackets */
.corner-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #0096ff;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.container:hover .corner-bracket {
    opacity: 1;
}

.corner-bracket.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-bracket.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner-bracket.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner-bracket.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Login Box */
.login-box {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 8px;
    padding: 40px 35px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 150, 255, 0.1);
}

.login-header {
    margin-bottom: 30px;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #0096ff;
    color: #000000;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.icon-box svg {
    width: 18px;
    height: 18px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 25px 0 10px 0;
    color: #ffffff;
}

.subtitle {
    color: #888888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form Styles */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #cccccc;
    letter-spacing: 0.3px;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #222222;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-bottom-color: #0096ff;
}

.input-group input:focus + .input-border {
    transform: scaleX(1);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0096ff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Options */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #444444;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: #0096ff;
    border-color: #0096ff;
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: #cccccc;
}

.forgot-password {
    color: #0096ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #00d4ff;
}

/* Login Button */
.btn-login {
    position: relative;
    width: 100%;
    padding: 14px;
    background: #0096ff;
    color: #000000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-login span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover {
    background: #00b8ff;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    transform: translateY(-2px);
}

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

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

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #222222;
}

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: rgba(10, 10, 10, 0.8);
    color: #666666;
    font-size: 13px;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #222222;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0096ff;
    transform: translateY(-2px);
}

.btn-social svg {
    width: 18px;
    height: 18px;
}

/* Signup Text */
.signup-text {
    text-align: center;
    font-size: 14px;
    color: #888888;
}

.signup-text a {
    color: #0096ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-text a:hover {
    color: #00d4ff;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 25px;
    }

    h1 {
        font-size: 28px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}