/* CSS global pour tout le site - global-site.css */

body {
    background: #181818;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
}

.limiter {
    margin-top: 40px;
}

.container-table100 {
    width: 90%;
    margin: 0 auto;
    background: #23203a;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    padding: 20px 0 40px 0;
}

.table100 table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.table100 th, .table100 td {
    padding: 18px 20px;
    text-align: left;
}

.table100 th {
    background: #2d2946;
    color: #fff;
    font-size: 1.2em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.table100 tr {
    background: #fff;
    color: #23203a;
    transition: background 0.2s;
}

.table100 tr:nth-child(even) {
    background: #f6f6f6;
}

.table100 tr:hover {
    background: #e0d7ff;
}

.table100 td a {
    color: #e09137;
    text-decoration: underline;
    margin-right: 10px;
    font-weight: bold;
}

.table100 td a:hover {
    color: #b86b00;
    text-decoration: none;
}

/* Styles extraits de toutes les pages du projet */

/* Formulaires (contact, connexion) */
input[type=text],
input[type=email],
input[type=password],
textarea {
    color: black;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type=submit]:hover {
    background-color: #45a049;
}

/* Classes spécifiques lail/index.php */
.center {
    text-align: center;
    color: #FFFFFF;
    line-height: 18px;
}
.title {
    text-align: center;
    color: #FFFFFF;
    line-height: 8px;
}
.header {
    text-align: center;
    color: #FFFFFF;
    line-height: 8px;
}
.droite {
    text-align: right;
    padding-right: 20px;
    color: #E09737;
    line-height: 8px;
}

/* Styles extraits de reponse/message.php (exemple, à adapter selon besoin réel) */
.background {
    display: flex;
    min-height: 100vh;
}
.container {
    flex: 0 1 700px;
    margin: auto;
    padding: 10px;
}
.screen {
    position: relative;
    background: #3e3e3e;
    border-radius: 15px;
}
.screen:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    z-index: -1;
}
.screen-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #4d4d4f;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.screen-header-left {
    margin-right: auto;
}
.screen-header-button {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-radius: 8px;
    background: white;
}
.screen-header-button.close {
    background: #ed1c6f;
}
.screen-header-button.maximize {
    background: #e8e925;
}
.screen-header-button.minimize {
    background: #74c54f;
}
.screen-header-right {
    display: flex;
}
.screen-header-ellipsis {
    width: 3px;
    height: 3px;
    margin-left: 2px;
    border-radius: 8px;
    background: #999;
}
.screen-body {
    display: flex;
}
.screen-body-item {
    flex: 1;
    padding: 50px;
}
.screen-body-item.left {
    display: flex;
    flex-direction: column;
}
.app-title {
    display: flex;
    flex-direction: column;
    position: relative;
    color: #ea1d6f;
    font-size: 26px;
}
.app-title:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 25px;
    height: 4px;
    background: #ea1d6f;
}
.app-contact {
    margin-top: auto;
    font-size: 8px;
    color: #888;
}
.app-form-group {
    margin-bottom: 15px;
}
.app-form-group.message {
    margin-top: 40px;
}
.app-form-group.buttons {
    margin-bottom: 0;
    text-align: right;
}
.app-form-control {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #666;
    color: #ddd;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s;
}
.app-form-control::placeholder {
    color: #666;
}
.app-form-control:focus {
    border-bottom-color: #ddd;
}
.app-form-button {
    background: none;
    border: none;
    color: #ea1d6f;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}
.app-form-button:hover {
    color: #b9134f;
}
.credits {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #ffa4bd;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: normal;
}
.credits-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
.dribbble {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}
@media screen and (max-width: 520px) {
    .screen-body {
        flex-direction: column;
    }
    .screen-body-item.left {
        margin-bottom: 30px;
    }
    .app-title {
        flex-direction: row;
    }
    .app-title span {
        margin-right: 12px;
    }
    .app-title:after {
        display: none;
    }
}
@media screen and (max-width: 600px) {
    .screen-body {
        padding: 40px;
    }
    .screen-body-item {
        padding: 0;
    }
}

@media (max-width: 800px) {
    .container-table100 {
        width: 100%;
        padding: 0;
    }
    .table100 th, .table100 td {
        padding: 10px 5px;
        font-size: 0.95em;
    }
} 

/* --- Barre de navigation marron clair, non transparente --- */
.navbar-fixed-top, .navbar.navbar-fixed-top {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #6b4226 !important;
    min-height: 60px;
    height: 64px;
    box-shadow: none;
    border-bottom: none;
    transition: background 0.3s, height 0.3s;
}
.navbar .container, .navbar .mbr-table {
    min-height: 60px;
    height: 64px;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar .navbar-brand img {
    max-height: 48px;
    margin-top: 4px;
    margin-bottom: 4px;
}
.navbar .nav-link {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    font-size: 1.08em;
}

/* --- Bouton retour en haut --- */
#backToTop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background: #e09137;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}
#backToTop:hover {
    background: #b86b00;
}

html {
    scroll-behavior: smooth;
} 