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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffd6e8 0%, #d6e8ff 50%, #e9d6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.flower {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.5;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-120vh) rotate(360deg); }
}

.login-container {
    width: 100%;
    max-width: 420px;
    margin: 20px;
    z-index: 10;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff85a2, #ffb6c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

h1 {
    color: #ff85a2;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
}

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

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

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff85a2;
}

.form-control {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ff85a2;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff85a2, #ffb6c1);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,133,162,0.4);
}

.alert {
    padding: 12px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.alert.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.register-link {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.register-link a {
    color: #ff85a2;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.register-link a:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 30px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    margin: 20px;
    position: relative;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff85a2;
}

.modal-content h2 {
    color: #ff85a2;
    text-align: center;
    margin-bottom: 20px;
}
