/* Custom fonts and colors */
.hand-write {
    font-family: 'Dancing Script', cursive !important;
}

.golden-border {
    border-color: gold;
}

    .golden-border.hl {
        border-image: linear-gradient(to bottom, #232323, gold, #232323) 1 stretch;
    }

    .golden-border.vl {
        border-image: linear-gradient(to right, #232323, gold, #232323) 1 stretch;
    }

.golden {
    color: gold;
}

.golden-light {
    color: lightgoldenrodyellow;
}

/* Custom card and input styles */
.card {
    background-color: #d1b671;
    border-color: gold;
}

input {
    background-color: gold;
    border-color: gold;
    border-width: 1px;
    border-radius: 4px;
}

    input:hover {
        background-color: lightgoldenrodyellow;
        border-color: lightgoldenrodyellow;
    }

/* Global */
html body {
    background-color: #232323;
    font-family: 'EB Garamond';
    color: lightgoldenrodyellow;
    font-size: 1.2rem;
}

    html body a, html body a:hover {
        color: gold;
    }

/* Custom navbar and dropdown styles */
.navbar-brand {
    color: gold;
    font-size: 1.8rem;
}

.nav-link {
    color: #FFD700; /* Gold */
    opacity: 1; /* Fully opaque */
}

    .nav-link:hover, .nav-link:focus {
        color: #FFD700; /* Gold on hover/focus */
        opacity: 1;
    }

.nav-item.active .nav-link {
    color: lightgoldenrodyellow;
}

.dropdown-menu {
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: gold;
    border-radius: 0;
    border-image: linear-gradient(to bottom, #232323, gold) 1 stretch;
    background-color: #232323;
}

.dropdown-item {
    color: #FFD700; /* Gold */
    opacity: 1;
}

    .dropdown-item:hover, .dropdown-item:focus {
        color: #FFD700; /* Gold on hover/focus */
        opacity: 1;
    }

.dropdown-divider {
    border-color: gold;
    border-image: linear-gradient(to right, #232323, gold, #232323) 1 stretch;
}

/* Override Bootstrap's SVG toggler icon with a gold version */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='gold' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Optional: Make the border of the toggler button gold as well */
.navbar-toggler {
    border-color: rgba(255, 215, 0, 0.5) !important; /* Gold with 50% opacity */
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    }

/* Custom FullCalendar styles */
.fc-toolbar button, .fc-toolbar button.active {
    border-color: gold;
    background-color: gold;
    color: #232323;
}

.fc-toolbar .fc-center, .fc-toolbar .fc-right {
    color: gold;
}

.fc-view-container .fc-view.fc-month-view table {
    border-color: gold;
}

.fc-view-container .fc-view.fc-month-view .fc-day-header {
    border-color: gold;
}

.fc-view-container .fc-view.fc-month-view .fc-body td {
    border-color: gold;
}

.fc-view-container .fc-view.fc-month-view .fc-today {
    background-color: lightgoldenrodyellow;
    border-color: gold;
}

.fc-view-container .fc-view.fc-month-view .fc-title {
    background-color: gold;
    border-color: gold;
    color: #232323;
}

.fc-view-container .fc-view.fc-listMonth-view td {
    border-color: gold;
}

.fc-view-container .fc-view.fc-listMonth-view .fc-event-dot {
    background-color: gold;
}

/* Custom popup styles */
#eventpopup {
    background-color: #232323 !important;
    box-shadow: 0px 0px 10px 1px gold !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: inherit !important;
    position: fixed !important;
}

    #eventpopup .location {
        background-color: lightgoldenrodyellow !important;
        color: #232323 !important;
    }

    #eventpopup .close {
        top: 0 !important;
        right: 0 !important;
        padding: 0 !important;
        background: inherit !important;
        color: lightgoldenrodyellow !important;
    }

/* Custom form styles */
.userform input, .userform select {
    background-color: lightgoldenrodyellow;
}

    .userform input[type='text'], .userform input[type='date'], .userform input[type='email'], .userform input[type='file'], .userform select {
        padding-bottom: 1px;
        width: 100%;
    }

    .userform button, .userform input[type='submit'], .userform input::-webkit-file-upload-button {
        background-color: gold;
        border-color: gold;
        color: #232323;
        border-radius: 5px;
    }

.userform .step-navigation {
    margin-top: 0.5rem;
}

.userform .step-buttons {
    padding: 0;
}

.userform .field {
    margin-bottom: 1px;
}

/* Custom modals */
.modal-content {
    background-color: #d1b671;
    border-color: gold;
    color: #232323;
}