/* ticket-page.css */
:root {
    --tkt-primary-green: #10b981;
    --tkt-primary-green-hover: #059669;
}

body.tkt-page-body,
body.tkt-page-body *:not(i):not([class*="fa-"]):not(.fab):not(.fas):not(.far):not(.fal) {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

body.tkt-page-body {
    background-color: #f9fafb;
}

/* Header Styles */
.tkt-header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.tkt-nav-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tkt-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.tkt-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.tkt-nav-link {
    color: #4b5563;
    text-decoration: none;
    margin: 0 1rem;
}

.tkt-nav-link:hover {
    color: #1f2937;
}

/* Breadcrumb */
.tkt-breadcrumb {
    font-size: 0.875rem;
    margin: 2rem 0 1rem;
}

.tkt-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.tkt-breadcrumb a:hover {
    text-decoration: underline;
}

/* Form Container */
.tkt-form-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tkt-form-label {
    display: inline-block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.tkt-required {
    color: #ef4444;
}

.tkt-form-control,
.tkt-form-select {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tkt-form-control:focus,
.tkt-form-select:focus {
    border-color: var(--tkt-primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

/* Rich Text Editor Toolbar */
.tkt-editor-toolbar {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tkt-editor-toolbar::-webkit-scrollbar {
    display: none;
}

.tkt-editor-btn {
    background-color: transparent;
    border: none;
    padding: 0.4rem 0.7rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #4b5563;
    flex-shrink: 0;
    transition: all 0.2s;
}

.tkt-editor-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.tkt-editor-divider {
    width: 1px;
    height: 20px;
    background-color: #d1d5db;
    margin: 0 0.4rem;
    flex-shrink: 0;
}

#tkt-description-editor {
    min-height: 180px;
    border: 1px solid #d1d5db;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem;
    font-size: 16px;
    outline: none;
    background: white;
    color: #111827;
    line-height: 1.6;
}

#tkt-description-editor[data-empty="true"]:before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
    display: block;
}

#tkt-description-editor:focus {
    border-color: var(--tkt-primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

#tkt-description-editor ul,
#tkt-description-editor ol {
    padding-left: 1.5rem;
}

#tkt-description-editor code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}

/* Attachments */
.tkt-attachment-label {
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tkt-attachment-label:hover {
    color: #1f2937;
}

.tkt-attach-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: .82rem;
    color: #374151;
    max-width: 280px;
}

.tkt-attach-chip .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tkt-attach-chip .x {
    cursor: pointer;
    color: #ef4444;
    font-weight: 600;
    padding: 0 2px;
    line-height: 1;
    transition: color .15s ease;
}

.tkt-attach-chip .x:hover {
    color: #b91c1c;
}

/* Buttons */
.tkt-btn-submit {
    background-color: #000;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
}

.tkt-btn-submit:hover {
    background-color: #1f2937;
    color: white;
}

/* WhatsApp Button */
.tkt-whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #252525;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    z-index: 1000;
}

.tkt-whatsapp-btn:hover {
    background-color: #191a1a;
}
