/*
===============================================================
 FFXIV-STYLE.CSS
===============================================================
- Couleurs et thème inspirés de Final Fantasy XIV
- Arrière-plan sombre avec nuances de violet / azur mystique
- Typographie stylée pour rappeler l'ambiance heroic fantasy
*/

/* Arrière-plan principal avec image FFXIV (optionnelle) */
body {
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", sans-serif;
    background: #1a0033 url("../0 - img/ffxiv-bg.jpg") no-repeat center center fixed;  /* Ajuster le chemin selon vos besoins */
    background-size: cover;
    color: #eee;
    overflow-x: hidden;
}

/* En-tête avec un style épique fantasy */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #c49bff;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #c49bff; /* Violet clair, rappelant la magie FFXIV */
    text-shadow: 0 0 10px #c49bff;
}

/* Zone de contenu principale */
.content {
    margin: 20px;
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 8px;
    box-shadow: 0 0 15px #100020;
    text-align: center;
}

.content .title {
    font-size: 1.8rem;
    color: #ffdd57; /* Couleur or, similaire à FFXIV */
    margin-bottom: 20px;
}

.error-text {
    color: #ff5555;
    font-weight: bold;
}

label {
    display: inline-block;
    margin-bottom: 10px;
    color: #ddd;
}

input[type="text"],
input[type="password"] {
    padding: 8px;
    border: 2px solid #c49bff;
    border-radius: 4px;
    background-color: #1e0035;
    color: #fff;
    width: 220px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #ffdd57;
}

.btn-submit {
    background-color: #ffdd57;
    border: none;
    padding: 10px 20px;
    color: #1a0033;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ffcc33;
}

.welcome-msg {
    color: #c49bff;
    margin-bottom: 15px;
}

.logout-link a {
    color: #ffdd57;
    text-decoration: none;
    font-weight: bold;
}

.logout-link a:hover {
    text-decoration: underline;
}

/* Liste des fichiers/dossiers */
.file-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.file-list li {
    margin: 8px 0;
}

.file-list a {
    color: #aaccff;
    text-decoration: none;
}

.file-list a:hover {
    text-decoration: underline;
}

/* Pied de page */
.footer {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    text-align: center;
    border-top: 3px solid #c49bff;
}

.footer p {
    margin: 0;
    color: #ddd;
    font-size: 0.9rem;
}

/* Media Queries pour la responsivité */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.6rem;
    }
    .content {
        margin: 10px;
        padding: 10px;
    }
    .content .title {
        font-size: 1.5rem;
    }
    input[type="text"],
    input[type="password"] {
        width: 180px;
    }
    .file-list {
        display: block;
        text-align: left;
    }
}
