/* TicketCreateDialog — unified look for the create-ticket form's three field columns,
   structured loading skeleton, and the attachments dropzone. */

#ticket-create-container { min-height: 620px; }

.ticket-create-field-label {
    font-size: 0.72rem;
    color: var(--rz-text-tertiary-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

/* Make every dropdown / picker in the form share the same 38px height
   so the Type / Category / Priority row aligns cleanly — RadzenDropDown
   and CategoryTreePicker trigger both expose an .rz-inputtext / .ctp-trigger
   wrapper. */
#ticket-create-container .rz-dropdown,
#ticket-create-container .ctp-trigger {
    min-height: 38px;
}

/* Structured loading skeleton mirroring the final form shape. */
.tc-skel-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.25rem 0 0;
}

.tc-skel-row {
    display: grid;
    gap: 1rem;
}

.tc-skel-row-2 { grid-template-columns: 1fr 1fr; }
.tc-skel-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.tc-skel-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tc-skel-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.create-attachment-dropzone {
    position: relative;
    border: 2px dashed var(--rz-base-400);
    border-radius: var(--rz-border-radius);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.create-attachment-dropzone:hover {
    border-color: var(--rz-primary);
}
.create-attachment-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.create-attachment-dropzone label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    pointer-events: none;
    font-size: 0.8125rem;
    color: var(--rz-text-tertiary-color);
}
.pending-attachment-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: var(--rz-border-radius);
    background: var(--rz-base-200);
    font-size: 0.8125rem;
}
.pending-attachment-item .file-icon {
    font-size: 1.25rem;
    color: var(--rz-text-tertiary-color);
}
.pending-attachment-item .file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pending-attachment-item .file-size {
    color: var(--rz-text-tertiary-color);
    font-size: 0.75rem;
}
