* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #DFE6F0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    padding: 30px;
}

.form-toggle {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.form-toggle button {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-toggle button.active {
    color: #62ABFF;
    border-bottom: 2px solid #62ABFF;
    margin-bottom: -2px;
}

.form-box {
    display: none;
}

.form-box.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

h2 {
    color: #333333;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

.error-msg {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    min-height: 20px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #667eea;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #62ABFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #5a6fd6;
}

.btn-submit:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
}

.switch-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666666;
}

.switch-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.switch-text a:hover {
    text-decoration: underline;
}
