/* Back button styling */
.back-button {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 8px;
    border: none;
    padding: 0.5rem 1rem 0.65rem 1rem;
    min-width: 95px;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #2d3238 0%, #1a1d21 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.back-button:hover {
    background: linear-gradient(180deg, #3d444d 0%, #252a30 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Mobile-specific back button adjustments */
@media (max-width: 991px) {
    /* Back button styling */
    .back-button {
        padding: 5px 10px;
        font-size: 0.9rem;
        min-width: 80px; /* Slightly reduced but sufficient for content */
        width: 100%; /* Ensure it takes available space */
        margin-bottom: 1.25rem;
        white-space: nowrap; /* Prevent text wrapping */
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .back-button i {
        margin-right: 5px;
        font-size: 0.9rem;
    }
    
    .back-button span.text-white {
        font-size: 0.9rem;
    }
    
    .back-button.loading .spinner-btn {
        display: inline-block;
        margin-left: 5px;
    }
    
    /* Ensure button doesn't get cut off */
    .col-4.text-end {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
} 