/* Global Styles */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --text-color: #333;
    --error-color: #f44336;
    --success-color: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('fotoback.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

/* Enhanced Header Styles */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.logo-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.logo {
    width: 60px;
    height: auto;
    border-radius: 8px;
}

.logo img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.header h1 {
    margin: 0;
    font-size: 2.2rem;
    color: white;
    
    font-weight: 700;
    text-transform: none;
    letter-spacing: 2px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(33, 150, 243, 0.8),
                     0 0 30px rgba(33, 150, 243, 0.6);
    }
}

/* Main Container Styles */
.login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex-grow: 1;
}

.login-box, .register-box, .recover-password-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-box h2 {
    margin-top: -10px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}


input, select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: black;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

input::placeholder {
    color: black;
}


input:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

/* Button Styles */
button {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button, .register-button, .recover-button {
    background: var(--primary-color);
    color: white;
     box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  
}

.login-button:hover, .register-button:hover, .recover-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.back-button {
    background-color: #757575;
    color: white;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #616161;
    transform: translateY(-2px);
}

/* Switch Styles */
.switch-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Form Row Styles */
.form-row {
    display: flex;
    gap: 1rem;
}

.input-large {
    flex: 3;
}

.input-small {
    flex: 1;
}

/* Links Styles */
a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

/* Message Styles */
.success-message, .error-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-message {
    border-left: 5px solid var(--success-color);
}

.error-message {
    border-left: 5px solid var(--error-color);
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        position: static;
        justify-content: center;
    }

    .header h1 {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .login-container {
        margin: 1rem;
    }
}



/* Ensure responsive design */
@media (max-width: 480px) {
    .logo-text-wrapper {
        gap: 15px;
    }
    
    .logo {
        width: 50px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}




.logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-separator {
    font-size: 40px;
    font-weight: 600;
    color: white;
    margin: 0 5px;
}
















