* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.login-wrapper {
    height: 100vh;
    width: 100vw;
    overflow: auto;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    width: 460px;
    max-width: 460px;
    margin: 0 auto;
    padding: 12px;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 60px;
    text-align: center;
}

.logo img {
    filter: brightness(0);
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: brightness(0) opacity(0.8);
}

h1 {
    font-size: 32px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: #1a1a1a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
    color: #999;
}

.btn-login {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.btn-login:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 16px;
    background: white;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.btn-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
    text-decoration: none;
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.btn-app:hover {
    background: #fafafa;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-app:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-app i {
    font-size: 18px;
}

.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.form-links a:hover {
    border-bottom-color: #1a1a1a;
}

.error-box {
    margin-top: 20px;
    padding: 14px;
    background: #fff5f5;
    border: 1px solid #fdd;
    border-radius: 8px;
    color: #c33;
    font-size: 15px;
    border-left: 3px solid #c33;
}

.success-box {
    margin-bottom: 20px;
    padding: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #15803d;
    font-size: 15px;
    border-left: 3px solid #15803d;
}

.info-box {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    border-left: 3px solid #1a1a1a;
}

.login-side {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.deco-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.deco-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.deco-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.05), transparent);
    right: 30%;
    top: 0;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

.side-content {
    color: white;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
}

.time-section {
    margin-bottom: 60px;
}

.time-display {
    font-size: 120px;
    font-weight: 300;
    letter-spacing: -6px;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
}

.date-display {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.hero-section {
    margin-bottom: 60px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .login-side {
        padding: 60px 60px;
    }
    
    .time-display {
        font-size: 100px;
        letter-spacing: -5px;
    }
    
    .hero-title {
        font-size: 52px;
        letter-spacing: -2px;
    }
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-side {
        display: none;
    }
    
    .login-form {
        width: 95%;
    }
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #1a1a1a;
}

.checkbox-label span {
    line-height: 1.5;
}

.checkbox-label a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.checkbox-label a:hover {
    border-bottom-color: #1a1a1a;
}