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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: rgb(231, 231, 231);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 20px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.switch-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 10px;
}

.switch-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.switch-btn.active {
    background: white;
    color: rgb(134, 37, 24);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.switch-btn:hover:not(.active) {
    color: #333;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgb(134, 37, 24);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: rgb(134, 37, 24);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgb(154, 57, 44);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(134, 37, 24, 0.3);
}

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

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
}
