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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3d4f7d 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite alternate;
}

.star:nth-child(1) { top: 10%; left: 15%; width: 2px; height: 2px; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; width: 1px; height: 1px; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; left: 30%; width: 3px; height: 3px; animation-delay: 1s; }
.star:nth-child(4) { top: 40%; left: 70%; width: 2px; height: 2px; animation-delay: 1.5s; }
.star:nth-child(5) { top: 50%; left: 10%; width: 1px; height: 1px; animation-delay: 2s; }
.star:nth-child(6) { top: 60%; left: 90%; width: 2px; height: 2px; animation-delay: 0.3s; }
.star:nth-child(7) { top: 70%; left: 25%; width: 1px; height: 1px; animation-delay: 0.8s; }
.star:nth-child(8) { top: 80%; left: 60%; width: 3px; height: 3px; animation-delay: 1.3s; }
.star:nth-child(9) { top: 15%; left: 50%; width: 2px; height: 2px; animation-delay: 1.8s; }
.star:nth-child(10) { top: 35%; left: 85%; width: 1px; height: 1px; animation-delay: 0.1s; }
.star:nth-child(11) { top: 45%; left: 5%; width: 2px; height: 2px; animation-delay: 0.6s; }
.star:nth-child(12) { top: 55%; left: 75%; width: 1px; height: 1px; animation-delay: 1.1s; }
.star:nth-child(13) { top: 65%; left: 40%; width: 3px; height: 3px; animation-delay: 1.6s; }
.star:nth-child(14) { top: 75%; left: 20%; width: 2px; height: 2px; animation-delay: 0.4s; }
.star:nth-child(15) { top: 85%; left: 95%; width: 1px; height: 1px; animation-delay: 0.9s; }

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.mydisney-logo {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-title {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: #f0f0f0;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: #e8e8e8;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #357abd;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 15px;
    color: #555;
    font-weight: 400;
    line-height: 1.5;
}

.login-link a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
    position: relative;
}

.login-link a:hover {
    color: #357abd;
    background: rgba(74, 144, 226, 0.08);
    text-decoration: none;
}

.login-link a:focus {
    outline: 2px solid rgba(74, 144, 226, 0.3);
    outline-offset: 2px;
}

.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.errorlist {
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
}

.errorlist li {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 480px) {
    .form-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .disney-logo {
        font-size: 28px;
        top: 20px;
    }
}
