/* GROUP */
.form-group {
    margin-bottom: 20px;
}

/* LABEL */
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #283121;
    font-size: 0.95em;
}

/* INPUT / SELECT / TEXTAREA */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced0b7;
    border-radius: 6px;
    background: #fff;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 1em;
    color: #474e43;
    transition: all 0.2s ease;
}

/* FOCUS */
.form-control:focus {
    outline: none;
    border-color: #007b9d;
    box-shadow: 0 0 0 3px rgba(0,123,157,0.15);
}

/* PLACEHOLDER */
.form-control::placeholder {
    color: #a0a79a;
}

/* TEXTAREA */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* SELECT FIX */
select.form-control {
    cursor: pointer;
}

/* DISABLED */
.form-control:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* ERROR (valinnainen) */
.form-group.error .form-control {
    border-color: #d9534f;
}

.form-group.error label {
    color: #d9534f;
}

.form-control {
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.85em !important;
    color: #878e83 !important;
}

.form-title {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f4f8f9;
    border-left: 3px solid #007b9d;
    font-size: 0.85em !important;
    color: #878e83 !important;
}

.link-list a.active {
    display: block;
    background: #007b9d;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.link-list a.active:hover {
    background: #006a87;
}

/* Banner suhteelliseksi */
#banner {
    position: relative;
    text-align: center;
}

/* Overlay koko bannerin päälle */
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.15); /* kevyt vaalennus */
    backdrop-filter: blur(4px); /* moderni blur (toimii moderneissa selaimissa) */
}

/* Login kortti */
.login-card {
    width: 320px;
    padding: 25px;

    background: #ffffff;
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Inputit siisteiksi */
.login-card .form-control {
    width: 100%;
    margin-bottom: 12px;
}

/* Nappi leveäksi */
.login-card .button-sm {
    width: 100%;
    text-align: center;
}