/* Fichier: css/language-theme-buttons.css */
/* Description: Styles pour les boutons de langue et de thème */

/* Styles de base pour les boutons */
.lang-theme-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 100;
}

/* Styles pour les boutons de langue */
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.lang-btn:hover, .lang-btn:focus {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background-color: #f38500;
    color: #fff;
}


/* Styles pour les icônes */
.lang-btn .flag, .theme-btn .icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.theme-btn .icon {
    margin-right: 0;
}

/* Styles pour la page de connexion */
.login-container {
    max-width: 400px;
    margin: auto;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    font-size: 1.8rem;
    color: #f38500;
    margin-bottom: 5px;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    position: relative;
}

.login-form .form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-secondary);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form .form-group input:focus {
    border-color: #f38500;
    box-shadow: 0 0 0 2px rgba(243, 133, 0, 0.2);
    outline: none;
}

.login-form .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.login-button {
    background-color: #f38500;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #d17000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: #f38500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #d17000;
    text-decoration: underline;
}

.login-error {
    background-color: rgba(204, 0, 0, 0.1);
    border-left: 3px solid #cc0000;
    color: #ff6666;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
