* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f8fafc; min-height: 100vh; }
.header { background: white; border-bottom: 1px solid #e2e8f0; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; align-items: center; gap: 16px; }
.logo { width: 40px; height: 40px; background: #2563eb; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; }
.header-title { font-size: 18px; font-weight: 600; color: #1e293b; }
.btn { padding: 10px 20px; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: #2563eb; color: white; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #f1f5f9; color: #475569; }
.btn-danger { background: #fef2f2; color: #dc2626; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.main { padding: 32px; max-width: 1400px; margin: 0 auto; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.page-title { font-size: 24px; font-weight: 700; color: #1e293b; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid #e2e8f0; }
.stat-value { font-size: 32px; font-weight: 700; color: #1e293b; }
.stat-label { font-size: 14px; color: #64748b; margin-top: 4px; }
.table-container { background: white; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
.table-header { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.table-title { font-size: 16px; font-weight: 600; color: #1e293b; }
.search-input { padding: 8px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; width: 250px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid #e2e8f0; }
th { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; background: #f8fafc; }
td { font-size: 14px; color: #1e293b; }
tr:hover { background: #f8fafc; }
.subdomain-link { color: #2563eb; text-decoration: none; font-weight: 500; }
.actions { display: flex; gap: 8px; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-overlay.show { display: flex; }
.modal { background: white; border-radius: 16px; width: 90%; max-width: 600px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 18px; font-weight: 600; }
.modal-close { width: 32px; height: 32px; border: none; background: #f1f5f9; border-radius: 8px; font-size: 18px; cursor: pointer; }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; gap: 12px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; }
.form-input:focus { outline: none; border-color: #2563eb; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-upload { border: 2px dashed #e2e8f0; border-radius: 12px; padding: 24px; text-align: center; cursor: pointer; }
.file-upload:hover { border-color: #2563eb; background: #f0f9ff; }
.file-upload.has-file { border-color: #10b981; background: #f0fdf4; }
.file-name { font-size: 13px; color: #10b981; margin-top: 8px; font-weight: 500; }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 2000; }
.toast { padding: 14px 20px; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid #ef4444; }
.date-deployed { color: #16a34a; font-weight: 500; }
.date-pending { color: #f59e0b; font-weight: 500; }
.text-muted { color: #94a3b8; }
.notes-preview { color: #64748b; font-size: 13px; margin-right: 8px; }
.btn-link { background: none; border: none; color: #2563eb; font-size: 13px; cursor: pointer; padding: 0; }
.btn-link:hover { text-decoration: underline; }
.notes-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 12px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); z-index: 2000; max-width: 500px; width: 90%; display: none; }
.notes-modal.show { display: block; }
.notes-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.notes-modal-title { font-size: 16px; font-weight: 600; color: #1e293b; }
.notes-modal-close { background: #f1f5f9; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 16px; }
.notes-modal-body { color: #475569; font-size: 14px; line-height: 1.6; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }
.notes-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: 1999; display: none; }
.notes-backdrop.show { display: block; }
.checkbox-group { display: flex; align-items: center; gap: 8px; }
.checkbox-group input { width: 18px; height: 18px; cursor: pointer; }
.checkbox-group label { font-size: 14px; cursor: pointer; }
