/* ============================================
   TICKET SYSTEM STILVERSO - CSS STYLESHEET
   ============================================ */

/* ===================
   RESET & BASE STYLES
   =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
}

/* ===================
   NAVBAR
   =================== */
.navbar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    color: rgba(149, 193, 32,1);
    font-size: 24px;
}

.navbar .logo {
    color: rgba(149, 193, 32,1);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-badge {
    background: rgba(149, 193, 32,1);
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.btn-logout {
    background: #FF0000;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(149, 193, 32,0.1);
    color: rgba(149, 193, 32,1);
}

/* ===================
   CONTAINER
   =================== */
.container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ===================
   LOGIN PAGE
   =================== */
body.login-page {
    background: linear-gradient(135deg, rgba(149, 193, 32,1) 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-page .container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 900px;
    display: flex;
    overflow: hidden;
}

.form-section {
    flex: 1;
    padding: 40px;
}

.divider {
    width: 1px;
    background: #e0e0e0;
}

h2 {
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* ===================
   FORMS
   =================== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="file"] {
    padding: 10px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(149, 193, 32,1);
}

textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

button {
    padding: 12px 20px;
    background: rgba(149, 193, 32,1);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #5568d3;
}

button.btn-full {
    width: 100%;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.btn-cancel:hover {
    background: #7f8c8d;
}

.btn-create {
    background: rgba(149, 193, 32,1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-create:hover {
    background: #5568d3;
}

.btn-delete {
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-primary {
    background: rgba(149, 193, 32,1);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* ===================
   ALERTS
   =================== */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* ===================
   CARDS
   =================== */
.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card h2 {
    color: #333;
    font-size: 22px;
}

.card h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

/* ===================
   STATISTICS
   =================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.blue { border-left: 4px solid #2196f3; }
.stat-card.orange { border-left: 4px solid #ff9800; }
.stat-card.green { border-left: 4px solid #4caf50; }
.stat-card.gray { border-left: 4px solid #9e9e9e; }

/* ===================
   FILTERS
   =================== */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: rgba(149, 193, 32,1);
    color: rgba(149, 193, 32,1);
}

.filter-btn.active {
    background: rgba(149, 193, 32,1);
    color: white;
    border-color: rgba(149, 193, 32,1);
}

/* ===================
   TABLES
   =================== */
.tickets-table {
    width: 100%;
    border-collapse: collapse;
}

.tickets-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

.tickets-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.tickets-table tr:hover {
    background: #f8f9fa;
    cursor: pointer;
}

.ticket-title-cell {
    font-weight: 600;
    color: #333;
}

table.users-table,
table.domains-table {
    width: 100%;
    border-collapse: collapse;
}

table.users-table th,
table.domains-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    border-bottom: 2px solid #e0e0e0;
}

table.users-table td,
table.domains-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

table.users-table tr:hover,
table.domains-table tr:hover {
    background: #f8f9fa;
}

/* ===================
   BADGES
   =================== */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-aperto {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-risposto {
    background: #fff3e0;
    color: #f57c00;
}

.badge-chiuso {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-admin {
    background: rgba(149, 193, 32,0.2);
    color: rgba(149, 193, 32,1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ===================
   TICKET DETAILS
   =================== */
.ticket-header {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ticket-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.ticket-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

.ticket-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ticket-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid rgba(149, 193, 32,1);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ticket-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    line-height: 1.6;
    color: #555;
}

.responses-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.replies-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reply-item {
    border-left: 3px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    background: #fafafa;
    border-radius: 0 5px 5px 0;
}

.response-item {
    border-left: 3px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.response-item.admin-response {
    border-left-color: rgba(149, 193, 32,1);
    background: #f0f8ff;
}

.reply-item.admin-reply {
    border-left-color: rgba(149, 193, 32,1);
    background: #f0f3ff;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.response-author {
    font-weight: 600;
    color: #333;
}

.reply-author {
    font-weight: 600;
    color: #333;
}

.response-date {
    color: #999;
    font-size: 13px;
}

.reply-date {
    color: #999;
}

.response-body {
    color: #555;
    line-height: 1.6;
}

.reply-message {
    color: #555;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-close {
    background: #95a5a6;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.btn-close:hover {
    background: #7f8c8d;
}

.btn-reopen {
    background: #27ae60;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.btn-reopen:hover {
    background: #229954;
}

.closed-notice {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #2e7d32;
}

/* ===================
   ATTACHMENTS
   =================== */
.attachments {
    margin-top: 15px;
}

.attachment-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s;
}

.attachment-item:hover {
    border-color: rgba(149, 193, 32,1);
    color: rgba(149, 193, 32,1);
}

.attachment-icon {
    font-size: 18px;
}

/* ===================
   REPLY FORM
   =================== */
.reply-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.reply-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.reply-form textarea:focus {
    outline: none;
    border-color: rgba(149, 193, 32,1);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* ===================
   CREATE TICKET SECTION
   =================== */
.create-ticket-section {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.create-ticket-section:hover {
    border-color: rgba(149, 193, 32,1);
    background: #f0f3ff;
}

.create-ticket-section h3 {
    color: rgba(149, 193, 32,1);
    margin-bottom: 5px;
    font-size: 18px;
}

.create-ticket-section p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.form-ticket {
    display: none;
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-ticket.active {
    display: block;
}

/* ===================
   EMPTY STATES
   =================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* ===================
   MISCELLANEOUS
   =================== */
.reply-count {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #495057;
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.action-btn:hover {
    border-color: rgba(149, 193, 32,1);
    color: rgba(149, 193, 32,1);
}

.ticket-list {
    display: grid;
    gap: 15px;
}

.ticket-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.ticket-item:hover {
    border-color: rgba(149, 193, 32,1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.user-name {
    color: #555;
}

/* ===================
   404 PAGE
   =================== */
body.error-page {
    background: linear-gradient(135deg, rgba(149, 193, 32,1) 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-page .container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: rgba(149, 193, 32,1);
    line-height: 1;
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.error-description {
    color: #666;
    margin-bottom: 30px;
}

/* ===================
   DOMAINS MANAGEMENT
   =================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.domini-grid {
    display: grid;
    gap: 20px;
}

.dominio-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.dominio-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.dominio-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.dominio-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.utenti-list {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

.utente-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.utente-item:last-child {
    border-bottom: none;
}

.badge-responsabile {
    background: rgba(149, 193, 32,1);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.btn-small {
    padding: 5px 12px;
    font-size: 12px;
    margin-left: 10px;
}

.btn-danger {
    background: #e74c3c;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

.btn-back {
    background: #95a5a6;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.add-domain-btn {
    background: rgba(149, 193, 32,1);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.managers-list {
    margin-top: 10px;
}

.manager-item {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
}

/* ===================
   ADMIN CREATION PAGE
   =================== */
body.admin-create-page {
    background: linear-gradient(135deg, rgba(149, 193, 32,1) 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

body.admin-create-page .container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

body.admin-create-page h1 {
    color: #333;
    margin-bottom: 10px;
}

.admin-list {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.admin-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    color: #856404;
}

hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* ============================================
   GESTIONE UTENTI - Stili aggiuntivi
   ============================================ */

.user-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.user-actions button,
.user-actions a {
    padding: 5px 10px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-edit { 
    background: #3498db; 
    color: white; 
}

.btn-edit:hover { 
    background: #2980b9; 
}

.btn-reset { 
    background: #f39c12; 
    color: white; 
}

.btn-reset:hover { 
    background: #e67e22; 
}

.btn-promote { 
    background: #9b59b6; 
    color: white; 
}

.btn-promote:hover { 
    background: #8e44ad; 
}

.btn-convert { 
    background: #27ae60; 
    color: white; 
}

.btn-convert:hover { 
    background: #229954; 
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover { 
    color: #333; 
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 20px;
    background: rgba(149, 193, 32,1);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-bar button:hover {
    background: #5568d3;
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    border-left: 4px solid rgba(149, 193, 32,1);
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

.password-requirements strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.password-requirements ul {
    margin: 10px 0 0 20px;
    color: #666;
    line-height: 1.8;
}

.password-requirements li {
    margin-bottom: 5px;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-page .container {
        flex-direction: column;
    }
    
    .divider {
        width: 100%;
        height: 1px;
    }
    
    .form-section {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tickets-table {
        font-size: 13px;
    }
    
    .tickets-table th,
    .tickets-table td {
        padding: 10px 8px;
    }
    
    .ticket-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar h1 {
        font-size: 18px;
    }
    
    .ticket-title {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ===================
   NAVIGATION BUTTONS
   =================== */
.nav-btn {
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-btn:hover {
    opacity: 0.85;
}

.nav-btn-orange { background: #e67e22; }
.nav-btn-purple { background: #9b59b6; }
.nav-btn-green { background: #27ae60; }
.nav-btn-blue { background: #3498db; }

/* ===================
   TABLE COLUMNS & CELLS
   =================== */
.col-id { 
    width: 60px; 
}

.col-actions { 
    width: 80px; 
}

.clickable-cell {
    cursor: pointer;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell form {
    display: inline;
}

/* ===================
   CLOSE BUTTON (SMALL)
   =================== */
.btn-close-small {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.btn-close-small:hover {
    background: #c0392b;
}

/* ===================
   ULTIMA RISPOSTA INDICATORS
   =================== */
.risposta-admin {
    color: #27ae60;
    font-weight: 600;
}

.risposta-utente {
    color: #e67e22;
    font-weight: 600;
}

.nessuna-risposta {
    color: #999;
    font-style: italic;
}

/* ===================
   UTILITY CLASSES
   =================== */
.text-muted {
    color: #999;
}

.dominio-label {
    color: rgba(149, 193, 32, 1);
}

.form-hint {
    color: #999;
    display: block;
    margin-top: 5px;
}

.form-ticket-title {
    margin-bottom: 20px;
}