body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

.container {
    width: 50%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
}

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

label {
    font-weight: bold;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

p {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.checkbox-label {
    font-size: 12px;
    color: #666;
    display: inline-block;
    margin-left: 5px;
}

input[type="email"],
input[type="password"],
select {
   width: 100%;
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 5px;
   box-sizing: border-box;
}

input[type="submit"] {
   width: 100%;
   padding: 10px;
   border: none;
   border-radius: 5px;
   background-color: #007bff;
   color: #fff;
   cursor: pointer;
   transition: background-color 0.3s;
}
input[type="submit"]:hover {
   background-color: #0056b3;
}

.navbar-brand {
    font-family:'Roboto', sans-serif;
    font-variant: normal;
    font-weight: bold;
    background: linear-gradient(to right, blue, lightblue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-transform: none;
}

/*  ADMIN */

.admin
{
    background: #fff;
    border-radius: 10px;
}

.text-logo
{
    font-family:'Roboto', sans-serif;
    font-variant: normal;
    font-weight: bold;
    background: linear-gradient(to right, blue, lightblue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-transform: none;
}

/*ADMIN INDEX*/
.confirm-dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

/* Style pour le fond sombre de la boîte de dialogue */
.confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}
.input-group input[type="text"],
.input-group input[type="password"] {
    flex: 1;
}
.input-group button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    background-color: transparent;
    padding: 8px;
}

/*Historique*/

.message-panel {
    margin-bottom: 20px;
}

.message-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #337ab7;
}
.list-group-item {
    cursor: pointer;
}
.list-group-item:hover {
    background-color: #f5f5f5;
}
.panel {
    margin-top: 10px;
}

/*Responsive*/
@media (max-width: 600px) {
    /* Container */
    .container {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }

    /* Header */
    h1 {
        font-size: 24px;
    }

    /* Form Group */
    .form-group {
        margin-bottom: 15px;
    }

    /* Inputs and Textareas */
    input[type="text"],
    textarea,
    select,
    input[type="email"],
    input[type="password"] {
        padding: 8px;
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    /* Buttons */
    button,
    input[type="submit"] {
        padding: 10px;
        font-size: 14px;
    }

    /* Paragraphs */
    p {
        font-size: 14px;
    }

    /* Checkbox Label */
    .checkbox-label {
        font-size: 12px;
    }

    /* Text Logo */
    .text-logo {
        font-size: 24px;
    }

    /* Modal Dialog */
    .modal-dialog {
        width: 95%;
        margin: 10px auto;
    }

    /* Modal Title */
    .modal-title {
        font-size: 20px;
    }

    /* Panel Body */
    .panel-body {
        padding: 10px;
    }

    /* Navbar */
    .navbar-header {
        float: none;
    }
    .navbar-brand {
        font-size: 18px;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        display: none;
    }
    .navbar-collapse.in {
        display: block !important;
    }
    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }
    .navbar-nav > li {
        float: none;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* List Group Items */
    .list-group-item {
        cursor: pointer;
        padding: 10px;
    }

    .list-group-item:hover {
        background-color: #f5f5f5;
    }

    /* Panels */
    .panel {
        margin-top: 10px;
    }

    /* Table */
    .table {
        width: 100%;
        margin-bottom: 20px;
        overflow-x: auto;
        display: block;
    }

    /* Form Actions */
    .form-actions {
        text-align: center;
    }
}
