#appRunForum h1{
color:green;
}

.forum th, .forum td {padding:5px;border:2px solid grey}
#appRunForum .forum span, .forum span{ margin:5px;} 

.forum { margin-bottom: 20px; }
.forum .detail {border-left:1px solid grey}
.forum div{display: inline-block}
.forum .profil{padding:5px}
.forum .title {display: block;border-bottom:1px solid grey; }
.forum div span { padding-left :10px;padding-right :10px; border-left:1px solid grey}
.forum .text {display: block; padding:10px;}

#appRunForum  #Tools{text-align:left; border-bottom: 1px solid grey; margin: 5px; padding:5px;
filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=134, Strength=5);-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}


.widgetForum{
    border-bottom:1px solid grey;
    margin-top:10px;
    padding:10px;
}

.widgetForum .title{
    border-bottom:1px solid grey;
    color: #31708f;
    padding: 5px;
} 

.widgetForum .message{
    margin-top:5px;

    color:white;
    padding:10px;
    border-radius:25px;
    width:75%;
    font-size:10px;
    padding-left: 15px;
    padding-right: 15px;
    
}

.widgetForum .lastReponse{

    margin-top:5px;
    color:white;
    padding:10px;
    border-radius:25px;
    width:75%;
    float:right;
     font-size:10px;
      padding-left: 15px;
    padding-right: 15px;
}

.messageForum {
    border : 1px solid grey;
    border-radius :8px;
    margin-bottom:10px;
}

.messageForum .tools{
    text-align:right;
    padding:5px;
}

.messageForum .info{
    background-color: #71c55d;
    color:white;
    padding:5px;
}

.messageForum .title{
    display: inline-block;
    color:white;
    text-align: center;
    width:90%
}

.messageForum .message{
    padding : 5px;
    border-bottom : 1px solid grey;
    margin-bottom:5px;
}

.messageForum .lastReponse{
    margin-left:15%;
}

/* Styles pour la nouvelle vue en tickets */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px; /* Compense les marges des tickets */
}

.columns .category-header {
    display: flex;
    width: 100%;
    background-color: #f5f5f5;
    padding: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #71c55d;
}

.columns .category-header .header-item {
    flex: 1;
    padding: 0 10px;
}

.columns .column {
    width: 100%;
    padding: 0 5px;
    margin-bottom: 15px;
}

.ticket {
    transition: all 0.3s ease;
    padding:10px;
}

.ticket:hover {
 #box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ticket-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ticket-link:hover {
    text-decoration: none;
}

.ticket-link:hover .ticket {
    background-color: #f5f5f5;
}

.ticket .ticket-title {
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-size: 24px;
}
 .ticket .ticket-description {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
}

.ticket .ticket-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 15px;
}

 .ticket .message-count {
    background-color: #71c55d;
    color: white;
    border-radius: 100px 100px 0px 0px;
    padding: 2px 8px;
}

/* Responsive design */
@media (min-width: 768px) {
    .columns .column {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .columns .column {
        width: 33.33%;
    }
}

/* Correction de l'erreur de ruleset vide */

/* Styles pour la liste de messages verticale */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}

.message-ticket {
    margin: 2px;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.message-ticket:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.user-profile {
    flex-shrink: 0;
    margin-right: 10px;
}

.message-title {
    flex-grow: 1;
    font-weight: bold;
    font-size: 24px;
}

.message-title a {
    color: #333;
    text-decoration: none;
}

.message-title a:hover {
    color: #71c55d;
}

.message-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
}

.count-badge {
    background-color: #71c55d;
    color: white;
    border-radius: 100px;
    padding: 2px 10px;
    font-size: 15px;
    font-weight: bold;
}

.count-label {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

.message-content {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
}

.message-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.last-response {
    flex: 3;
    padding-right: 20px;
}

.last-response h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.response-content {
    font-size: 14px;
    color: #666;
}

.action-buttons {
    flex: 1;
    text-align: right;
}

/* Styles pour ShowMessage.tpl */
.topic-message {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.topic-header {
    margin-bottom: 15px;
}

.topic-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #333;
}

.topic-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-details, .responder-details {
    margin-left: 10px;
}

.author-name, .responder-name {
    font-weight: bold;
    font-size: 16px;
}

.message-date, .response-date {
    color: #777;
    font-size: 14px;
    margin-top: 3px;
}

.topic-content {
    font-size: 24px;
    line-height: 1.6;
    color: #444;
}

.responses-section {
    margin-top: 30px;
}

.responses-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #71c55d;
    color: #333;
}

.responses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.response-ticket {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.response-ticket:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.response-meta {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.responder-info {
    display: flex;
    align-items: center;
}

.response-content {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    padding: 5px 0 15px 0;
}

.response-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}