/* ============================================
   CREEK OFFICER PORTAL STYLES
   ============================================ */

.creek-officer-portal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    color: #1e293b;
}

.creek-officer-portal * {
    box-sizing: border-box;
}

.creek-officer-screen {
    display: none;
}

.creek-officer-screen.active {
    display: block;
}

/* Login */
.creek-officer-login-box {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.creek-officer-login-box h2 {
    text-align: center;
    margin: 0 0 24px 0;
    font-size: 22px;
    color: #1e293b;
}

/* Header */
.creek-officer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.creek-officer-header h2 {
    margin: 0;
    font-size: 22px;
    color: #1e293b;
}

.creek-officer-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#creek-officer-welcome {
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

/* Search */
.creek-officer-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.creek-officer-search .creek-input {
    flex: 1;
}

/* Detail grid */
.creek-officer-detail-header {
    margin-bottom: 16px;
}

.creek-officer-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.creek-officer-detail-left,
.creek-officer-detail-right {
    min-width: 0;
}

/* Pet fee label on frontend */
.creek-pet-fee-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.creek-pet-fee-label input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.creek-pet-fee-line {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 10px 12px !important;
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .creek-officer-detail-grid {
        grid-template-columns: 1fr;
    }

    .creek-officer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .creek-officer-search {
        flex-direction: column;
    }
}

#creek-officer-violation-form .creek-upload-label {
    display: block;
    padding: 16px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

#creek-officer-violation-form .creek-upload-label:hover {
    border-color: #2563eb;
    background: #f0f6ff;
}

/* Policy Accordion */
.creek-policies-checklist {
    border: none;
    padding: 0;
}

.creek-policy-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.creek-policy-accordion-header {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.creek-policy-accordion-header:hover {
    background: #eef2f7;
}

.creek-policy-accordion-arrow {
    font-size: 10px;
    color: #64748b;
    display: inline-block;
    transition: transform 0.2s;
}

.creek-policy-accordion-count {
    font-weight: 400;
    font-size: 12px;
    color: #94a3b8;
    margin-left: auto;
}

.creek-policy-accordion-body {
    padding: 8px 16px 12px;
    border-top: 1px solid #e2e8f0;
}

.creek-policy-accordion-body .creek-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    line-height: 1.5;
}

.creek-policy-accordion-body .creek-checkbox-label:last-child {
    border-bottom: none;
}

.creek-policy-accordion-body .creek-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}
