/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.tickets_count {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #0078d7;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    display: inline-block;
    width: fit-content;
}
/* Bloc des tickets */
.tickets_bloc {
    flex: 1 1 calc(70% - 20px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.tickets {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.tickets:last-child {
    border-bottom: none;
}

.tickets h2 {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #0078d7;
}

.tickets p {
    max-width: 600px;
    margin: 0 0 10px;
    color: #555;
    line-height: 1.6;
}

.tickets a {
    display: inline-block;
    color: white;
    background-color: #0078d7;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tickets a:hover {
    background-color: #005bb5;
}

/* Lien pour voir plus */
.tickets_bloc a {
    display: block;
    text-align: center;
    margin: 20px auto;
    width: fit-content;
    padding: 10px 20px;
    color: white;
    background-color: #0078d7;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.tickets_bloc a:hover {
    background-color: #005bb5;
}

/* Bloc utilisateur */
.user_bloc {
    position: fixed;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    flex: 0 1 calc(25% - 20px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.user_bloc img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.user_bloc p {
    font-size: 1rem;
    margin: 5px 0;
    color: #333;
}

.user_bloc a {
    display: block;
    color: white;
    background-color: #0078d7;
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.user_bloc a:hover {
    background-color: #005bb5;
}

/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-header {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0078d7;
}

.profile-info {
    margin-bottom: 20px;
}

.profile-info-text {
    font-size: 1.2rem;
    margin: 10px 0;
}

.change-link {
    color: white;
    background-color: #0078d7;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.change-link:hover {
    background-color: #005bb5;
}

/* Formulaires */
.profile-form {
    margin-top: 10px;
    background-color: #f3f3f3;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-submit {
    background-color: #0078d7;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.form-submit:hover {
    background-color: #005bb5;
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-container {
        padding: 15px;
    }

    .profile-info-text {
        font-size: 1rem;
    }
}

/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

/* Section titres */
h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Section principale */
main {
    max-width: 1100px;
    margin: 0 auto;
}

/* Titres des sections */
.section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #0078d7;
}

/* Section des tickets */
.list-tickets, .list-commentaire, .list-utilisateur {
    margin-bottom: 30px;
}

/* Article de ticket */
.ticket-item {
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ticket-title {
    font-size: 1.4rem;
    color: #0078d7;
}

.ticket-description {
    font-size: 1rem;
    color: #555;
}

/* Liens d'action */
.action-link {
    color: #0078d7;
    text-decoration: none;
    margin-right: 10px;
}

.action-link:hover {
    text-decoration: underline;
}

/* Formulaires */
.ticket-form, .comment-form, .add-ticket-form {
    margin-top: 15px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-submit {
    background-color: #0078d7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-submit:hover {
    background-color: #005bb5;
}

/* Liens supplémentaires */
.see-more, .add-ticket-link, .back-home-link {
    display: block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #0078d7;
    text-decoration: none;
}

.see-more:hover, .add-ticket-link:hover, .back-home-link:hover {
    text-decoration: underline;
}

