/* --- CENTERING THE BUTTON --- */
.center-content {
    /* Use Flexbox to center the content */
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    padding: 0px 0px 42px 0px;
}

/* Base Styling for Elegance */
.elegant-back-button {
    /* ... (rest of the button styles) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: 3px solid #3498db;
    border-radius: 15px;
    background-color: #ffe88b;
    color: #3498db;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hover Effect - Color Swap */
.elegant-back-button:hover {
    background-color: #3498db;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

/* Icon and Text Positioning */
.elegant-back-button .icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Animation: Icon Slide and Rotate */
.elegant-back-button:hover .icon {
    transform: translateX(-3px) rotate(-15deg);
}

/* -------------------- RIPPLE EFFECT CSS -------------------- */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}