/* ── Shared styles for Tixly Internal Suite ── */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #111;
}

.hidden { display: none !important; }

/* ── Header ── */
.suite-header {
    height: 56px; background: #fff; border-bottom: 1px solid #e8e8e8;
    display: flex; align-items: center; padding: 0 24px; gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04); justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.suite-header .logo { height: 28px; }
.header-divider { width: 1px; height: 24px; background: #e0e0e0; }
.header-title { font-size: 14px; font-weight: 500; letter-spacing: -0.1px; color: #666; }
.header-right { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #fa4517; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; overflow: hidden; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 13px; font-weight: 500; color: #666; }
.btn-header { background: none; border: 1px solid #e0e0e0; border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 500; color: #666; cursor: pointer; font-family: inherit; transition: all 0.15s; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.btn-header:hover { border-color: #ccc; color: #333; }

/* ── Modal dialogs ── */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.35);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
    animation: fadeIn 0.12s ease;
}
.modal-box {
    background: #fff; border-radius: 14px; padding: 28px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18); min-width: 360px; max-width: 480px;
    animation: scaleIn 0.15s ease;
}
.modal-title { font-size: 16px; font-weight: 600; color: #111; margin-bottom: 8px; }
.modal-message { font-size: 14px; color: #4b5563; line-height: 1.5; margin-bottom: 20px; white-space: pre-wrap; }
.modal-input {
    display: block; width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px;
    font-size: 14px; font-family: inherit; color: #111; margin-bottom: 20px; outline: none;
}
.modal-input:focus { border-color: #fa4517; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.modal-btn {
    padding: 8px 20px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff;
    font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer; transition: all 0.15s; color: #374151;
}
.modal-btn:hover { background: #f9fafb; border-color: #d1d5db; }
.modal-btn.primary { background: #fa4517; color: #fff; border-color: #fa4517; }
.modal-btn.primary:hover { background: #e03e14; }
.modal-btn.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.modal-btn.danger:hover { background: #b91c1c; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ccc; }
