:root {
    --ccard-color-background1: #004ba9;
    --ccard-color-background2: #fff;
    --ccard-color-foreground1: #fff;
    --ccard-color-foreground2: #004ba9;
    --ccard-color-background3: rgb(177, 9, 9);
}

body {
    background-color: var(--bg);
}

.componentLogin-wrap {
    margin: 0;
    border: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 30% auto;
    justify-content: center;
    align-content: center;
    height: 100%;
    width: 100%;
}

.componentLogin-wrap,
.componentLogin-wrap * {
    box-sizing: border-box;
}

.componentLogin-texting {
    display: flex;
    flex-direction: column;
    padding: 4rem;
}

.componentLogin-texting img {
    border-radius: 0.5rem 0.5rem 0 0;
    max-width: 100%;
    align-content: left;
    pointer-events: none;
}

.componentLogin-texting-news {
    padding-top: 8px;
}

.componentLogin-texting-news:not(:last-child) {
    border-bottom: 1px solid #e1e1e1;
}

.componentLogin-texting-news-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.componentLogin-texting-news--title {
    font-weight: bold;
    line-height: 20px;
}

.componentLogin-texting-news--time {
    font-size: 14px;
    line-height: 20px;
}

.componentLogin-wrapper {
    line-height: 1.5;
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 30ch;
    max-width: 98%;
    height: auto;
    border-radius: 0.5rem;
    background: var(--primary-bg);
    color: var(--primary-text);
    text-align: center;
    padding-bottom: 2em;
    transition: background-color 400ms linear;
}

.componentLogin-wrapper img {
    border-radius: 0.5rem 0.5rem 0 0;
    width: 60%;
    margin: 2em 20%;
    margin-bottom: 0;
    pointer-events: none;
}

.componentLogin-wrapper img ~ h1 {
    margin-top: -1em;
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.2ch;
}

.componentLogin-input {
    border: 0;
    border-bottom: 2px solid var(--primary-text);
    padding-bottom: 4px;
    margin: 1em 2em;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.componentLogin-input img {
    border: 0;
    height: 1.4em;
    width: 1.4em;
    border-radius: 0;
    margin: 0.1em 0;
}

.componentLogin-input input {
    border: 0;
    background: transparent;
    color: var(--primary-text);
    position: absolute;
    left: 3em;
    right: 0;
    top: 0;
    bottom: 0;
    outline: none;
}

.componentLogin-input input::placeholder {
    color: var(--placeholder-text);
}
.componentLogin-input input:-ms-input-placeholder {
    color: var(--placeholder-text);
}
.componentLogin-input input::-ms-input-placeholder {
    color: var(--placeholder-text);
}

.componentLogin-wrapper button {
    border: 0;
    cursor: pointer;
    border-radius: 1.4em;
    padding: 0.8em 0;
    width: 50%;
    margin: 1em 25%;
    background: var(--primary-btn-bg);
    color: var(--primary-btn-text);
}

.componentLogin-wrapper span {
    text-decoration: underline;
    font-size: 80%;
    white-space: nowrap;
    cursor: pointer;
}

.componentLogin-wrapper[data-locked="true"] input,
.componentLogin-wrapper[data-locked="true"] button {
    pointer-events: none;
}

.componentLogin-wrapper[data-failed="true"] {
    background: var(--ccard-color-background3);
}
