/* =========================================
   Sangue Raro - Modern Theme (Tailwind Inspired)
   ========================================= */

:root {
    --sr-primary: #ef4444; /* red-500 */
    --sr-primary-hover: #dc2626; /* red-600 */
    --sr-surface: #ffffff;
    --sr-background: #f3f4f6; /* gray-100 */
    --sr-text-main: #111827; /* gray-900 */
    --sr-text-muted: #6b7280; /* gray-500 */
    --sr-border: #e5e7eb; /* gray-200 */
    --sr-ring: rgba(239, 68, 68, 0.3);
    --sr-radius: 0.75rem; /* 12px */
    --sr-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sr-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--sr-background);
    color: var(--sr-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Card Container */
.sr-card {
    background-color: var(--sr-surface);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-lg);
    border: 1px solid var(--sr-border);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sr-card-header {
    background: linear-gradient(135deg, var(--sr-primary) 0%, #b91c1c 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.sr-card-body {
    padding: 2.5rem;
}

/* Typography */
.sr-title {
    font-size: 1.875rem; /* 3xl */
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.sr-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.sr-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sr-text-main);
    margin-bottom: 0.5rem;
}

/* Inputs & Selects */
.sr-input, .sr-select {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--sr-border);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--sr-text-main);
    background-color: #f9fafb; /* gray-50 */
    transition: all 0.2s ease-in-out;
}

.sr-input:focus, .sr-select:focus {
    outline: none;
    border-color: var(--sr-primary);
    background-color: white;
    box-shadow: 0 0 0 4px var(--sr-ring);
}

.sr-input::placeholder {
    color: #9ca3af; /* gray-400 */
}

/* Buttons */
.sr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.sr-btn-primary {
    background-color: var(--sr-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
}

.sr-btn-primary:hover {
    background-color: var(--sr-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(239, 68, 68, 0.5);
    color: white;
}

.sr-btn-secondary {
    background-color: white;
    color: var(--sr-text-main);
    border: 1px solid var(--sr-border);
}

.sr-btn-secondary:hover {
    background-color: #f3f4f6;
    color: var(--sr-text-main);
}

.sr-btn-success {
    background-color: #10b981; /* emerald-500 */
    color: white;
}
.sr-btn-success:hover {
    background-color: #059669;
    color: white;
}

.sr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Stepper */
.sr-step-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.sr-step-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--sr-border);
    z-index: 0;
}

.sr-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: var(--sr-surface);
    padding: 0 10px;
}

.sr-step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--sr-background);
    border: 3px solid var(--sr-border);
    margin: 0 auto 0.5rem;
    transition: all 0.3s ease;
}

.sr-step.active .sr-step-circle {
    border-color: var(--sr-primary);
    background-color: var(--sr-primary);
    box-shadow: 0 0 0 4px var(--sr-ring);
}

.sr-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sr-step.active .sr-step-label {
    color: var(--sr-primary);
}

/* Table overrides for hours */
.sr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--sr-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.sr-table thead {
    background-color: #f9fafb;
}

.sr-table th {
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--sr-text-muted);
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--sr-border);
}

.sr-table td {
    padding: 1rem;
    background-color: white;
    border-bottom: 1px solid var(--sr-border);
    color: var(--sr-text-main);
}

.sr-table tr:last-child td {
    border-bottom: none;
}

/* Transitions */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
  transform: translateY(10px);
}

/* Helper Utils */
.sr-mb-4 { margin-bottom: 1.5rem; }
.sr-mt-4 { margin-top: 1.5rem; }
.sr-w-full { width: 100%; }

/* Map Placeholder */
.sr-map-placeholder {
    height: 350px;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sr-text-muted);
}
.sr-map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--sr-shadow);
}
