main>.container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}


/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* align the logout "link" (button in form) of the navbar */

.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

:root {
    /* Brand Palette */
    --color-purple: #7A4DFF;
    --color-turquoise: #2DD4BF;
    --color-orange: #FF8A3D;
    --color-bg-card: #ffffff;
    --color-text: #1f2937;
    --color-border-light: #e5e7eb;
    /* Gradients */
    --grad-input: linear-gradient(to right, var(--color-purple), var(--color-turquoise));
    --grad-button: linear-gradient(135deg, var(--color-purple), var(--color-orange));
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Input Styling */

.ocio-input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.ocio-input {
    height: 48px;
    padding: 0 16px;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg-card);
    border: 2px solid var(--color-border-light);
    border-radius: 12px;
    outline: none;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}


/* Gradient Border & Glow on Focus */

.ocio-input:focus {
    border-color: transparent;
    background-image: linear-gradient(white, white), var(--grad-input);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 12px rgba(122, 77, 255, 0.2);
}


/* Button Styling */

.ocio-btn-login {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: var(--grad-button);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(122, 77, 255, 0.3);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Hover & Active States */

.ocio-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 77, 255, 0.4);
    filter: brightness(1.1);
}

.ocio-btn-login:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.ocio-navbar {
    background-color: var(--color-nav-bg);
    height: 72px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: var(--font-main);
}

.ocio-nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Logo */

.ocio-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--color-purple), var(--color-turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Menu Links */

.ocio-nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

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


/* Active State Underline */

.nav-link.active {
    color: var(--color-purple);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-purple);
    border-radius: 2px;
}


/* Profile & Logout */

.ocio-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-link:hover {
    color: var(--color-orange);
}

.btn-logout {
    background-color: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background-color: var(--color-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}

.ocio-footer {
    background-color: var(--footer-bg);
    padding: 60px 0 20px 0;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
    font-family: 'Inter', sans-serif;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}


/* Brand Area */

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--color-purple), var(--color-turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    max-width: 250px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-purple);
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-purple);
    color: white;
    transform: translateY(-3px);
}


/* Link Columns */

.footer-links {
    display: flex;
    justify-content: space-between;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #111;
}

.link-group a {
    display: block;
    text-decoration: none;
    color: #666;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--color-turquoise);
}


/* Footer Bottom */

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #999;
    font-size: 0.8rem;
}


/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        /* Stacked layout */
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

.glass1 {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.y_centercenter {
    vertical-align: middle !important;
}

.y_top {
    vertical-align: top !important;
}

.font400 {
    font-weight: 400 !important;
}

.font450 {
    font-weight: 450 !important;
}

.font500 {
    font-weight: 500 !important;
}

.font550 {
    font-weight: 550 !important;
}

.font600 {
    font-weight: 600 !important;
}

.font650 {
    font-weight: 650 !important;
}

.font5 {
    font-size: 5px !important;
}

.font6 {
    font-size: 6px !important;
}

.font7 {
    font-size: 7px !important;
}

.font8 {
    font-size: 8px !important;
}

.font9 {
    font-size: 9px !important;
}

.font10 {
    font-size: 10px !important;
}

.font11 {
    font-size: 11px !important;
}

.font12 {
    font-size: 12px !important;
    ;
}

.font13 {
    font-size: 13px !important;
}

.font14 {
    font-size: 14px !important;
}

.font15 {
    font-size: 15px !important;
}

.font16 {
    font-size: 16px !important;
}

.font17 {
    font-size: 17px !important;
}

.font18 {
    font-size: 18px !important;
}

.font19 {
    font-size: 19px !important;
}

.font20 {
    font-size: 20px !important;
}

.font21 {
    font-size: 21px !important;
}

.font22 {
    font-size: 22px !important;
}

.font23 {
    font-size: 23px !important;
}

.font24 {
    font-size: 24px !important;
}

.font25 {
    font-size: 25px !important;
}

.font26 {
    font-size: 26px !important;
}

.font27 {
    font-size: 27px !important;
}

.font28 {
    font-size: 28px !important;
}

.font29 {
    font-size: 29px !important;
}

.font30 {
    font-size: 30px !important;
}

.color1 {
    color: #7A4DFF !important;
}

.color2 {
    color: #1ECAD3 !important;
}

.color3 {
    color: #FF8A3D !important;
}

.color4 {
    color: #5B3BD6 !important;
}

.color5 {
    color: #9B7BFF !important;
}

.color6 {
    color: #5EDFE6 !important;
}

.color7 {
    color: #FFB37A !important;
}

.colortexto1 {
    color: #1F2937 !important;
}

.colortexto2 {
    color: #4B5563 !important;
}

.colortexto3 {
    color: #9CA3AF !important;
}

.color11 {
    color: #F3F4F6 !important;
}

.color12 {
    color: #FFFFFF !important;
}

.colorexito {
    color: #22C55E !important;
}

.coloradvertencia {
    color: #F59E0B !important;
}

.colorerror {
    color: #EF4444 !important;
}

.colorinformacion {
    color: #3B82F6 !important;
}

.bgcolor1 {
    background-color: #7A4DFF !important;
}

.bgcolor2 {
    background-color: #1ECAD3 !important;
}

.bgcolor3 {
    background-color: #FF8A3D !important;
}

.bgcolor4 {
    background-color: #5B3BD6 !important;
}

.bgcolor5 {
    background-color: #9B7BFF !important;
}

.bgcolor6 {
    background-color: #5EDFE6 !important;
}

.bgcolor7 {
    background-color: #FFB37A !important;
}

.bgcolortransparent1 {
    background-color: #7A4DFF4e !important;
}

.bgcolortransparent2 {
    background-color: #1ECAD34e !important;
}

.bgcolortransparent3 {
    background-color: #FF8A3D4e !important;
}

.bgcolortransparent4 {
    background-color: #5B3BD64e !important;
}

.bgcolortransparent5 {
    background-color: #9B7BFF4e !important;
}

.bgcolortransparent6 {
    background-color: #5EDFE64e !important;
}

.bgcolortransparent7 {
    background-color: #FFB37A4e !important;
}

.bordercolor1 {
    border: 1px solid #68C3ED !important;
}

.bordercolor2 {
    border: 1px solid #1ECAD3 !important;
}

.bordercolor3 {
    border: 1px solid #FF8A3D !important;
}

.bordercolor4 {
    border: 1px solid #5B3BD6 !important;
}

.bordercolor5 {
    border: 1px solid #9B7BFF !important;
}

.bordercolor6 {
    border: 1px solid #5EDFE6 !important;
}

.bordercolor7 {
    border: 1px solid #FFB37A !important;
}

.fileinput-remove {
    border: none !important;
    background-color: transparent !important;
}

.evento-card {
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.evento-card img {
    height: 180px;
    object-fit: cover;
}