/**
 * User Tickets CSS
 * Styles for ticket-related pages
 */

/* Ticket Description Section */
.ticket-description-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ticket-description-content {
    margin-top: 1rem;
}

.description-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.description-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.description-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.description-text {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Ticket Closed Message */
.ticket-closed-message {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.closed-message-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.closed-message-content i {
    font-size: 2rem;
    color: #6c757d;
}

.closed-message-content h3 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1.25rem;
}

.closed-message-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

.resolved-note {
    color: #28a745 !important;
    font-weight: 500;
}

/* Form Enhancements */
.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.success {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-input.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

/* Visual Feedback */
.verifying {
    border-color: #ffc107 !important;
    background-color: #fffdf0 !important;
}

.verified {
    border-color: #28a745 !important;
    background-color: #f8fff9 !important;
}

.invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ticket-description-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .description-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .closed-message-content {
        flex-direction: column;
        text-align: center;
    }
}
