/* RailSense Document Generator Styles */

:root {
    --primary-color: #1E3A5F;
    --secondary-color: #4A90A4;
    --accent-color: #F5A623;
    --background: #F8F9FA;
}

body {
    background-color: var(--background);
    font-family: Arial, Helvetica, sans-serif;
}

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

/* Step Indicator */
.progress-steps {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step.active::after {
    background: var(--primary-color);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--secondary-color);
    color: white;
}

.step-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Search Results */
.table-hover tbody tr:hover {
    cursor: pointer;
    background-color: #f8f9fa;
}

/* Searchable Dropdown */
#customer-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 2px;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#customer-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    white-space: normal;
}

#customer-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

#customer-dropdown .dropdown-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Customer Card */
#customer-card {
    border-left: 4px solid var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #152a47;
    border-color: #152a47;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
}

/* Loading States */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
    }
    
    .step::after {
        display: none;
    }
    
    .step {
        margin-bottom: 1rem;
    }
}

/* Error Messages */
.alert {
    border-radius: 6px;
}

/* Success Icon */
.text-success {
    color: #28a745 !important;
}




