/* General Button Styling */
.button {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transitions */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    display: inline-block;
    margin: 5px;
}

.button.next:hover {
    background-color: #8e44ad;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.button.next:active {
    transform: translateY(2px);
}

/* Hidden Mobile Buttons (mobile view styling) */
.hide_mobile {
    display: inline-block;
}

@media (max-width: 768px) {
    .hide_mobile {
        display: none; /* Hide buttons on small screens */
    }
}

/* General styling for icon-only buttons */
.icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin-right: 15px;
}

.icon-button i {
    color: inherit; /* Use current text color */
    transition: color 0.3s ease; /* Smooth color transition on hover */
    font-size: 2rem; /* Make the icon 2x size */
}

/* Hover effect for icon-only buttons */
.icon-button:hover i {
    color: #007bff; /* Change to your desired hover color */
}

/* Button Container */
.button-container {
    display: flex;
    align-items: center; /* Ensures the buttons are vertically aligned */
}

.icon-button {
    overflow: hidden; 
}

/* Icon Button SVG Styling */
.icon-button svg {
    max-height: 100%; /* Ensures the SVG scales properly */
    max-width: 100%; /* Prevents SVG from overflowing */
    vertical-align: middle; /* Ensures it aligns vertically with other content */
}

/* H1 Styling */
h1 {
    font-size: 30px;
}
