/* CSS Styles for Disabled Ticket Reply Forms 
   Add this to your WHMCS template's CSS file or create a custom CSS file */

/* Disabled ticket reply form styling */
.ticket-form-disabled {
    position: relative;
    opacity: 0.6;
}

.ticket-form-disabled::after {
    content: "TICKET CLOSED";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    color: #d9534f;
    font-weight: bold;
    font-size: 24px;
    padding: 10px 20px;
    border: 2px solid #d9534f;
    border-radius: 5px;
    z-index: 1000;
    pointer-events: none;
}

/* Disabled submit buttons */
.btn-disabled-ticket {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    border: 1px solid #cccccc !important;
    opacity: 0.6;
}

.btn-disabled-ticket:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
}

/* Disabled textarea styling */
.textarea-disabled-ticket {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    resize: none;
}

/* Alert styling for closed tickets */
.alert-ticket-closed {
    border-left: 4px solid #d9534f;
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

/* Admin override warning */
.alert-admin-override {
    border-left: 4px solid #f0ad4e;
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}