/* Custom Cookie Consent Styles for IRC Group */

.cookies {
    font-family: 'Montserrat', system-ui, sans-serif;
    color: #FFFFFF;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(10, 11, 13, 0.95); /* irc-midnight with opacity */
    backdrop-filter: blur(5px);
    border-top: 1px solid #2A2B30; /* irc-ash */
    box-shadow: 0 -4px 25px -5px rgba(0, 0, 0, 0.1);
}

.cookies__alert {
    padding: 1.5rem;
}

.cookies__container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookies__wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookies__title {
    font-family: 'Wix Madefor Display', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #E6FF00; /* irc-yellow */
    margin-bottom: 0.5rem;
}

.cookies__intro {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #B4B6BD; /* irc-cloud */
    margin-bottom: 1rem;
}

.cookies__intro a {
    color: #E6FF00; /* irc-yellow */
    text-decoration: underline;
}

.cookies__intro a:hover {
    color: #D4E600; /* irc-yellow-hover */
}

.cookies__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookiesBtn {
    display: inline-block;
}

.cookiesBtn__link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.cookiesBtn--essentials .cookiesBtn__link {
    background-color: #1E1F23; /* irc-slate */
    color: #FFFFFF;
    border: 1px solid #3A3B42; /* irc-silver */
}

.cookiesBtn--essentials .cookiesBtn__link:hover {
    background-color: #2A2B30; /* irc-ash */
}

.cookiesBtn--accept .cookiesBtn__link {
    background-color: #E6FF00; /* irc-yellow */
    color: #0A0B0D; /* irc-midnight */
    font-weight: 600;
}

.cookiesBtn--accept .cookiesBtn__link:hover {
    background-color: #D4E600; /* irc-yellow-hover */
}

.cookies__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #8B8D94; /* irc-mist */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookies__btn:hover {
    color: #E6FF00; /* irc-yellow */
}

.cookies__btn svg path {
    fill: currentColor;
}

.cookies__expandable {
    background-color: #151619; /* irc-charcoal */
    border-top: 1px solid #2A2B30; /* irc-ash */
    padding: 1.5rem;
    display: none;
}

.cookies__expandable--open {
    display: block;
}

.cookies__sections {
    display: grid;
    gap: 1.5rem;
}

.cookies__section {
    border-bottom: 1px solid #2A2B30; /* irc-ash */
    padding-bottom: 1.5rem;
}

.cookies__category {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookies__box {
    flex: 1;
}

.cookies__label {
    font-weight: 600;
    color: #FFFFFF;
}

.cookies__info {
    font-size: 0.875rem;
    color: #8B8D94; /* irc-mist */
    margin-top: 0.5rem;
}

.cookies__details {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #8B8D94; /* irc-mist */
    text-decoration: underline;
}

.cookies__details:hover {
    color: #E6FF00; /* irc-yellow */
}

.cookies__definitions {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.cookies__cookie {
    padding: 0.75rem;
    background-color: #1E1F23; /* irc-slate */
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.cookies__name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookies__duration {
    font-size: 0.75rem;
    color: #8B8D94; /* irc-mist */
    margin-bottom: 0.25rem;
}

.cookies__description {
    font-size: 0.875rem;
    color: #B4B6BD; /* irc-cloud */
}

.cookies__save {
    margin-top: 1.5rem;
    text-align: center;
}

.cookies__save .cookiesBtn__link {
    background-color: #E6FF00; /* irc-yellow */
    color: #0A0B0D; /* irc-midnight */
    font-weight: 600;
}

.cookies__save .cookiesBtn__link:hover {
    background-color: #D4E600; /* irc-yellow-hover */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .cookies__wrapper {
        flex-direction: row;
        align-items: center;
    }

    .cookies__intro {
        flex: 1;
        margin-bottom: 0;
    }

    .cookies__actions {
        flex-shrink: 0;
    }
}
