/*
 * PollXpress colours for the login and account pages.
 *
 * The shared login.css carries TEDME's colours (near-black #19181b, red #d91d4b / #ed1651). The shared login layout loads this
 * file after it, only when the product is not TEDME (see the isTedme() test in the layout), and every rule here repeats the
 * selector of the shared rule it answers, so TEDME's login stays as it is. Colours are those of the Figma design
 * "AI 25-001 Marketing-Webseite PollXPress EXTERN".
 */

:root {
    --ui-body-bg: #f0f1f6; /* Figma: grau 03 */
}

/* MARK: Links */

a {
    color: #3c8cf0; /* Figma: link */
}

a:hover {
    color: #1669d1; /* Figma: link hover */
}

footer a {
    color: #6e6d73; /* Figma: grau 01 */
}

footer a:hover {
    color: #00002d;
}

footer li:not(:last-child) a::after {
    background: #b3b4b9; /* Figma: grau 02 */
}

.tedme-primary {
    color: #3c8cf0;
}

.under-line-red-link {
    color: #6e6d73;
    border-bottom: 1px dashed #3c8cf0;
}

.under-line-red-link:hover {
    color: #1669d1;
    border-bottom: 1px dashed #6e6d73;
}

.reg-login-link {
    color: #6e6d73;
}

.blue-a a {
    color: #3c8cf0;
}

/* MARK: Buttons */

.btn-ui {
    color: #fff;
    background: #3c8cf0; /* Figma: primary button */
}

.btn-ui:hover,
#btn-login:hover {
    background: #1669d1; /* Figma: primary button hover */
}

.btn-ui:active,
#btn-login:active {
    background: #043d85; /* Figma: primary button clicked */
}

/* MARK: Text and lines */

#login h3,
.list-group-item {
    color: #00002d;
}

.form-divider {
    border-top: 1px solid #e0e0e5; /* Figma: dark blue, lightest step */
}

.form-check-input {
    border-color: #b3b4b9;
}

#client-country,
#country,
#country option:first-child {
    color: #6e6d73;
}

.social-login-btn {
    border: 1px solid #e0e0e5 !important;
}

.social-login-btn.disabled,
.social-login-btn:hover {
    background-color: #f0f1f6;
}

#ui-alert-wrapper a:hover {
    color: #e0e0e5;
}

/* MARK: Flash messages
   Dark blue on the success green and on the warning orange reads, white does not; white on the error red does. */

#ui-alert-wrapper .alert-success {
    color: #00002d;
    background-color: #1aaa55; /* Figma: success */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

#ui-alert-wrapper .alert-warning {
    color: #00002d;
    background-color: #fd9404; /* Figma: warning */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

#ui-alert-wrapper .alert-danger {
    color: #fff;
    background-color: #db3b21; /* Figma: error */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

#ui-alert-wrapper .alert-success .bi-check,
#ui-alert-wrapper .alert-danger .bi-exclamation-triangle,
#ui-alert-wrapper .alert-warning .bi-info {
    color: #1aaa55;
}

#ui-alert-wrapper .alert-danger .bi-exclamation-triangle {
    color: #db3b21;
}

#ui-alert-wrapper .alert-warning .bi-info {
    color: #fd9404;
}
