/* styles.css */

/* General Styles */
body {
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
    background-color: #f2f2f2;
    text-align: center;
    margin: 0;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.container {
    background-color: #fff;
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.container-event {
    background-color: #fff;
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.container-event:hover {
    scale: 1.05;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.container-event-cancelled {
    background-color: #cccccc;
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.container_form {
    background-color: #fff;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.container_user {
    background-color: #fff;
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.container-fluidy {
    padding: 20px;
    align-content: center;
    align-items: center;
}

.pdf-container {
    width: 100%;
    height: 60em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.col-md-6 {
    margin: auto;
}

.main-body-style {
    margin-top: auto;
    margin-bottom: auto;
}

.row {
    height: 100%;
}

.content-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

/* Typography */
h1, h4 {
    font-weight: 700;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.4em;
    color: #333;
    margin-bottom: 20px;
    margin-top: 50px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #666;
}

.event-type {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fab60a;
    border-radius: 10px;

}

.event-type-cancelled {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d22a2a;
    border-radius: 10px;
}

.event-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    margin: 10px 0;
}

/* Buttons */
.btn, .button, .btn-logout {
    background-color: #fab60a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.small-button {
    background-color: #fab60a;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 12px;
    transition: background-color 0.3s ease;
}


.small-button-add {
    position: absolute;
    top: 20px;
    right: 20px;
}

.btn:hover, .button:hover, .small-button:hover, .btn-logout:hover {
    background-color: #987417;
}

.btn-logout {
    background-color: #d3a73b;
    color: #000;
    border-radius: 10px;
}

.btn-logout:hover {
    background-color: #d22a2a;
}

/* Links */
a {
    color: #fab60a;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    position: static;
    width: 100%;
    background-color: #fab60a;
    border-radius: 10px 10px 0 0;
    color: #000000;
    font-size: 14px;
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
}

.footer .container-fluid {
    padding: 0;
}

.footer p {
    margin-top: 10px;
}

.footer img {
    vertical-align: middle;
}

/* Navbar */
.navbar {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--main-dark-blue-color);
    font-weight: normal;
}

.navbar-nav .nav-link:hover {
    color: var(--main-hover-color);
}

.navbar-toggler-icon {
    background-color: var(--second-yellow-color);
}

.navbar-toggler-icon:hover {
    background-color: var(--main-yellow-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .container_user {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .container_user {
        font-size: 9px;
    }

    .text-muted {
        max-width: 15ch;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
    }
}

@media (max-width: 320px) {
    .container_user {
        font-size: 7px;
    }

    .text-muted {
        max-width: 15ch;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
    }
}

.container_user {
    background-color: #fff;
    width: 90%;
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.container-fluidy {
    padding: 20px;
    align-content: center;
    align-items: center;
}

.pdf-container {
    width: 100%;
    height: 60em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.col-md-6 {
    margin: auto;
}

.main-body-style {
    margin-top: auto;
    margin-bottom: auto;
}

.row {
    height: 100%;
}

.content-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

/* Typography */
h1, h4 {
    font-weight: 700;
    text-transform: uppercase;
}

.section-title {
    font-weight: 700;
    font-size: 3.4em;
    color: #333;
    margin-bottom: 20px;
}

.section-subtitle {
    font-weight: 500;
    font-size: 2.2em;
    color: #666;
}

.event-type {
    font-size: 1.8em;
    color: #333;
}

.event-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
}

.event-date-info {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

.event-location {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

.event-access-info {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

/* Buttons */
.button, .btn-logout {
    background-color: #fab60a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover, .btn-logout:hover {
    background-color: #d3a73b;
}

.btn-logout {
    background-color: #d3a73b;
    color: #000;
    border-radius: 10px;
}

.btn-logout:hover {
    background-color: #d22a2a;
}


.btn-info {
    background-color: #17a2b8;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-danger {
    background-color: #d22a2a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}



/* Links */
a {
    color: #fab60a;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    position: static;
    width: 100%;
    background-color: #fab60a;
    border-radius: 10px 10px 0 0;
    color: #000000;
    font-size: 14px;
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
}

.footer .container-fluid {
    padding: 0;
}

.footer p {
    margin-top: 10px;
}

.footer img {
    vertical-align: middle;
}

/* Navbar */
.navbar {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--main-dark-blue-color);
    font-weight: normal;
}

.navbar-nav .nav-link:hover {
    color: var(--main-hover-color);
}

.navbar-toggler-icon {
    background-color: var(--second-yellow-color);
}

.navbar-toggler-icon:hover {
    background-color: var(--main-yellow-color);
}

.background-image {
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    color: #000;
}


.details-left,
.details-right {
    width: 48%;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

}

.details-left {
    padding: 20px;
}

.details-right {
    padding: 20px;
}

.private-event {
    color: #FF0000;
}

.details-right p {
    font-size: 18px; /* Adjust the font size as needed */
}

@media (max-width: 768px) {
    .event-details {
        flex-direction: column;
    }

    .details-left,
    .details-right {
        width: 100%; /* Display details in full width on mobile */
    }
}


form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-campus {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    margin: 20px auto;
}

.status {
    margin: 20px auto;
}

.form-campus select,
.form-campus button {
    margin: 10px;/* Adjust the margin as needed */
}

label {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #666;
}

input[type="text"],
input[type="date"],
input[type="datetime-local"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.image-container {
    max-width: 100px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pagination custom styles */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    transition: background-color 0.3s ease;
}

.pagination li a:hover {
    background-color: #f0f0f0;
}

.pagination .active a {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert .close {
    color: inherit;
}

.checkbox-container input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 5px;
}

    .delete-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        padding: 0;
        border: none;
        cursor: pointer;
        margin-left: 8px;
        background-color: #dc3545;
        color: white;
        border-radius: 50%;
    }

    .list-group-item {
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        border-radius: 5px;
        margin-right: 8px;
        display: inline-flex;
        align-items: center;
    }