/* default styling */

:root {
    --max-width-for-mobile: 1200px;
    --primary-color: #0b19e0;
    --secondary-color: #ff9900;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #99DAFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.left-aligned-text {
    text-align: start;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.card_container {
    display: flex;
    flex-direction: column;
    background-color: #ffffff50;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    text-align: center;
}

.card h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* Success / Error styling */
.card.success {
    border-top: 6px solid #4CAF50; /* green */
}

.card.success h2 {
    color: #4CAF50;
}

.card.error {
    border-top: 6px solid #FF5722;
    background-color: #FF000050;
}

.card.error h2 {
    color: #FF5722;
}

.card.warning {
    border-top: 6px solid #ff9900;
    background-color: #ff990055;
}

textarea#authUrl.authUrl {
    display: block;
    width: 100%;
    min-height: 100px !important;
}

#message {
    font-size: 1rem;
    color: #555;
}

#countdown {
    font-weight: bold;
    color: #333;
}

.logo {
    width: 120px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

section {
    display: flex;
    flex-flow: column;
    margin: 2rem 0;
}

section > label {
    margin-top: 1rem;
}

.button {
    width: 100%;
    min-height: 4rem;
    padding: 1em;
    background-color: var(--primary-color);
    border-radius: 15px;
    color: #fff;
    margin: 1.5rem auto;
    font-size: medium;
}

.button.outlined {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
}

.request_information {
    border-top: 2px solid #4CAF50;
}

.request_information div {
    text-align: left;
    border-top: 1px solid #99DAFF;
    margin-top: 1rem;
}

.request_information div:first-of-type {
    border-top: none;
}

.hintMessages ul {
    list-style-type: none;
}

.hintMessages li {
    color: #FF9900;
}

.authenticationButton {
    display: block;
}

a.authenticationButton {
    min-height: unset;
    width: unset;
}

aside {
    margin: 0;
}

.newRequestSameParametersButton {
    background: none;
    padding: 0;
    margin: 0;
    width: 64px;
    height: 64px;
    border: medium transparent;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.newRequestSameParametersButton:hover {
    border: 1px solid var(--primary-color);
    background-color: lightblue;
}

.newRequestSameParametersButton:active {
    background-color: lime;
    border-color: fuchsia;
    color-interpolation-filters: revert;
}

.controlEndAlignerContainer {
    text-align: end;
}

.content {
    display: flex;
    flex-direction: row;
    column-count: 2;
    column-gap: 2rem;
    max-width: 90%;
}

@media (max-width: 1000px) {
    .content {
        flex-direction: column;
    }
}

.formHintCard {
    display: block;
    margin: 1rem auto;
}

.clientSecretOptionalHint {
    text-align: start;
    color: #af790b;
    font-size: small;
}

#prettifiedToken {
    text-align: left;
    margin: 0 auto;
}

textarea#authUrl {
    user-select: all;
}