/* event-style.css */

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* Light grey */
    margin: 0;
    padding: 0;
}

/* Card (form container) */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

/* Input fields */
input[type="text"],
input[type="password"],
input[type="email"],
select {
    font-size: 16px;
}

/* General submit buttons */

button {
    vertical-align: middle;
    line-height: normal;
    margin: 0;
    padding: 8px 16px;
}

/* Hover effect for general buttons */
button:hover,
input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Special Buttons for Dashboard */
.button1,
.button2 {
    background-color: #28a745; /* override below */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.5; /* 🔧 Added */
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    vertical-align: middle;
    display: inline-block; /* 🔧 Ensures layout consistency */
}

.button2:hover {
    background-color: #e0a800; /* Darker gold */
}
.button2:hover {
    background-color: yellow; /* Darker gold */
}
/* Responsive adjustments */
@media (max-width: 576px) {
    /* Smaller font on mobile */
    body {
        font-size: 14px;
    }

    /* Stack admin buttons vertically */
    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        align-items: center;
    }

    .button1, .button2, .logout-btn {
        width: 100%;
        margin-bottom: 8px;
    }

    /* Center the logout button on mobile */
    .text-end {
        text-align: center !important;
    }

    /* Table responsive improvements */
    table {
        font-size: 14px;
    }
}

/* Table responsiveness */
.table-responsive {
    overflow-x: auto;
}
.accordion-button {
  font-size: 0.9rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-weight: 500;
}

.accordion-item {
  margin-bottom: 8px;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.accordion-button:not(.collapsed) {
  background-color: #e9ecef;
  color: #212529;
}

.accordion-body {
  font-size: 0.9rem;
  line-height: 1.4;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-buttons a {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    padding: 10px;
    line-height: 30px;
}

