        


/* Process Steps Styles */
.process-steps {
    margin: 30px 0;
}

.step-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #6c757d;
    font-size: 20px;
    transition: all 0.3s;
}

.step-number {
    font-weight: bold;
    font-size: 22px;
}

.step-icon.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
}

.step-icon.completed {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.connector {
    flex-grow: 1;
    height: 2px;
    background-color: #dee2e6;
    margin: 0 15px;
    position: relative;
    top: -20px;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
    right: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-right: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    font-size: 16px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-text {
    font-weight: bold;
}

.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.refund-percent {
    font-size: 24px;
    font-weight: bold;
    color: #198754;
}

/* Refund Preview Styles */
.refund-preview {
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.refund-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form Styles */
.cancellation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Button Styles */
.btn-cancel {
    background-color: #dc3545;
    color: white;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background-color: #bb2d3b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.alert-info {
    background-color: #e8f4f8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .step-container {
        flex-direction: column;
    }
    
    .connector {
        width: 2px;
        height: 30px;
        margin: 10px 0;
        top: 0;
    }
    
    .timeline-container:before {
        right: 15px;
    }
    
    .timeline-item {
        padding-right: 40px;
    }
    
    .timeline-marker {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .refund-percent {
        font-size: 20px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Checkbox Styles */
.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Rules Container Styles */
.rules-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

/* Success Message Styles */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Loading Spinner Styles */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Input Group Styles */
.input-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.input-group .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.input-group .form-control:focus {
    z-index: 3;
}

/* Select Styles */
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Textarea Styles */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Badge Styles */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Link Styles */
a {
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Simple Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.5rem - 1px);
    border-bottom-left-radius: calc(0.5rem - 1px);
    gap: 0.5rem;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-open {
    overflow: hidden;
}

/* Alert positioning */
#alertContainer {
    width: 100%;
    max-width: 500px;
}

#alertContainer .alert {
    margin-bottom: 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}
