﻿body {
    background-color: #5e207d;
    overflow-y: auto;
    min-width: 350px;
    background-image: url("./../images/Demeter-Background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media only screen and (min-width: 600px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 600px) {
    body {
        background: none;
    }
}

.login-container {
    background-color: white;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 2px 10px;
    display: flex;
    padding: 1.5rem;
    flex-direction: column;
    margin: 1.5rem;
    overflow: hidden;
    width: 350px;
    min-height: 450px;
    max-height: 90vh;
    overflow-y: auto;
}

.logo-row {
    margin-bottom: 1rem;
}

.login-column {
    width: 100%;
}

.login-containers {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    margin: 1.5rem 0;
}

.login-seperator {
    margin: 1rem;
    border-bottom: 1px solid #445e67;
}

@media only screen and (min-width: 600px) {
    .login-containers {
        display: flex;
        flex-direction: row;
    }

    .login-seperator {
        border-bottom: none;
    }
}

.logoIcon {
    width: 100%;
}

button[name='provider'] {
    background-position: 6px center;
    background-repeat: no-repeat;
}

/* Microsoft Personal & Azure AD */
button[name='provider'][value='aad'] {
    background-image: url(../images/Microsoft.svg);
}

button[name='provider'][value='microsoft'] {
    background-image: url(../images/Microsoft.svg);
}

/* LinkedIn Auth */
button[name='provider'][value='linkedin'] {
    background-image: url(../images/LinkedIn_blue.png);
}

button[name='provider'][value='linkedin']:hover {
    background-image: url(../images/LinkedIn_white.png);
}

.privacy-label {
    max-width: 290px;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #000;
    cursor: pointer;
    padding: 1rem;
    border: none;
    text-align: left;
    outline: none;
    width: 100%;
    transition: background-color 0.4s ease, max-height 0.2s ease-out;
    position: relative;
}

.accordion-button::after {
    content: '\25bc'; /* Unicode character for down arrow */
    font-size: 1rem;
    position: absolute;
    right: 1rem;
    transition: transform 0.4s ease;
}

.accordion-button.active::after {
    transform: rotate(180deg); /* Rotate the chevron */
}

.accordion-button.active, .accordion-button:hover {
    background-color: #e9ecef;
}

.accordion-content {
    display: none;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #f1f1f1;
    padding: 1rem 0.5rem;
}

.accordion-content.show {
    display: block;
}

.accordion-auth-button {
    width: 100%; /* Ensure accordion buttons always have the same width */
}