/**
 * Violence Report Form - GPS Dark Theme
 * Prefix: gps-vr-
 */

.gps-vr-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gps-vr-intro {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #dc2626;
    border-radius: 6px;
}

.gps-vr-intro p {
    color: #a0a0a0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 !important;
}

/* Sections */
.gps-vr-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.gps-vr-section h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0 !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fields */
.gps-vr-field {
    margin-bottom: 1.25rem;
}

.gps-vr-field:last-child {
    margin-bottom: 0;
}

.gps-vr-field label {
    display: block;
    color: #d1d5db !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.gps-vr-field .required {
    color: #dc2626;
}

.gps-vr-field input[type="text"],
.gps-vr-field input[type="date"],
.gps-vr-field select,
.gps-vr-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.gps-vr-field input[type="date"] {
    color-scheme: dark;
}

.gps-vr-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.gps-vr-field select option {
    background: #1a1a2e;
    color: #ffffff;
}

.gps-vr-field textarea {
    resize: vertical;
    min-height: 100px;
}

.gps-vr-field input:focus,
.gps-vr-field select:focus,
.gps-vr-field textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.gps-vr-field input::placeholder,
.gps-vr-field textarea::placeholder {
    color: #6b7280;
}

/* Checkbox fields */
.gps-vr-checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.gps-vr-checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #dc2626;
    cursor: pointer;
}

/* Gang details toggle */
.gps-vr-gang-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Submit section */
.gps-vr-submit-section {
    background: transparent;
    border: none;
    padding: 0;
}

.gps-vr-submit-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.25rem;
    font-family: inherit;
}

.gps-vr-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.gps-vr-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status messages */
.gps-vr-status {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.gps-vr-status.error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.gps-vr-status.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Confirmation screen */
.gps-vr-confirmation {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 680px;
    margin: 0 auto;
}

.gps-vr-confirmation .gps-vr-check-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 28px;
}

.gps-vr-confirmation h3 {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin-bottom: 1rem !important;
}

.gps-vr-confirmation p {
    color: #a0a0a0 !important;
    font-size: 1rem;
    line-height: 1.6;
}

.gps-vr-confirmation .gps-vr-ref {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff !important;
    font-family: monospace;
    font-size: 1.1rem;
    margin: 0.5rem 0 1rem;
}

/* Responsive */
@media (max-width: 600px) {
    .gps-vr-form-wrapper {
        padding: 0 0.5rem;
    }

    .gps-vr-section {
        padding: 1rem;
    }

    .gps-vr-submit-btn {
        padding: 0.875rem 1.5rem;
    }
}
