/* Rebooking Tool Styles */

/* Progress Steps */
.progress-steps {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.step {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-right: 1rem;
    position: relative;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.step.active .step-number {
    background: #5cb85c;
}

.step.completed .step-number {
    background: #5cb85c;
}

.step-title {
    font-weight: 500;
}

/* Form Elements */
.form-elements {
    background: white;
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-elements h4 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

/* Required Field Indicator */
.required {
    color: #d32f2f;
}

/* Utility Classes */
.text-primary {
    color: #337ab7;
}

.text-muted {
    color: #666;
}

/* Labels and Badges */
.label {
    font-size: 12px;
    margin-right: 5px;
    padding: 3px 6px;
    border-radius: 3px;
}

.label-success {
    background-color: #5cb85c;
    color: white;
}

.label-warning {
    background-color: #f0ad4e;
    color: white;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
}

.badge-warning {
    background-color: #f0ad4e;
    color: white;
}

/* Operations Summary (Preview Page) */
.operations-summary {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.operation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
}

.rebook-operation {
    background: #f0f8f0;
    border: 2px solid #5cb85c;
}

.cancel-operation {
    background: #fdf2f2;
    border: 2px solid #d9534f;
}

.operation-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.rebook-operation .operation-icon {
    background: #5cb85c;
    color: white;
}

.cancel-operation .operation-icon {
    background: #d9534f;
    color: white;
}

.operation-details h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.operation-details p {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.operation-details small {
    font-size: 12px;
    color: #666;
}

/* Target Course Info (Preview Page) */
.target-course-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.course-details h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.course-format {
    color: #666;
    margin: 0 0 15px 0;
}

.date-details {
    color: #333;
    margin-bottom: 15px;
}

.capacity-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.capacity-item {
    display: flex;
    gap: 10px;
}

.capacity-item .label {
    color: #666;
    font-weight: 500;
}

.capacity-item .value {
    font-weight: bold;
}

.capacity-item .value.success {
    color: #5cb85c;
}

/* Cancel Reason Info (Preview Page) */
.cancel-reason-info {
    margin-bottom: 20px;
}

.reason-effects {
    margin-top: 10px;
}

.reason-effects .label {
    font-size: 12px;
    margin-right: 5px;
    padding: 3px 6px;
    border-radius: 3px;
}

/* Data Table Styles */
.data-table td {
    vertical-align: middle;
}

/* Booking Cards (Process Page) */
.booking-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 10px;
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

.booking-card.rebook-selected {
    border-color: #5cb85c;
    background: #f0f8f0;
}

.booking-card.cancel-selected {
    border-color: #d9534f;
    background: #fdf2f2;
}

.booking-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-info {
    flex: 2;
    text-align: center;
}

.course-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.date-title {
    color: #666;
    font-size: 14px;
}

.action-selection {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

.action-btn.active.rebook-btn {
    background-color: #5cb85c !important;
    border-color: #5cb85c !important;
    color: white !important;
}

.action-btn.active.cancel-btn {
    background-color: #d9534f !important;
    border-color: #d9534f !important;
    color: white !important;
}

/* Action Summary (Process Page) */
.action-summary {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    gap: 30px;
}

.summary-item {
    display: flex;
    gap: 10px;
}

.summary-item .label {
    font-weight: 500;
}

.summary-item .value {
    font-weight: bold;
    color: #333;
}

/* Notice Boxes (Process Page) */
.rebook-notice, .cancel-notice {
    background: #e7f3ff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

/* Reason Details (Process Page) */
.reason-details {
    margin-top: 15px;
}

/* Execute Button (Preview Page) */
#btnExecute {
    font-weight: bold;
}
