.registration-wrapper {
    padding: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-container {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e6ebf2;
}

.form-intro {
    text-align: justify;
    margin-bottom: 20px;
    font-style: italic;
    color: #666;
}

.form-alert {
    font-size: 13px;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 1.45;
}

.form-alert:empty {
    display: none;
}

.form-alert-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    text-align: center;
    font-weight: 700;
}

.form-field {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field:focus {
    border-color: #2b8ae2;
    box-shadow: 0 0 0 3px rgba(43, 138, 226, 0.18);
    outline: none;
}

.select-label {
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    color: #1f2937;
}

.submit-button {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .2px;
    transition: 0.2s ease;
}

.submit-button-primary {
    background: #2b8ae2;
    color: #fff;
}

.submit-button-muted {
    background: #e5e7eb;
    color: #1f2937;
}

.submit-button:hover {
    filter: brightness(0.97);
}

.submit-button:disabled {
    cursor: not-allowed;
}

.remember-row {
    margin-top: 10px;
    font-size: 13px;
    color: #374151;
}

.submit-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.submit-container-right {
    margin-top: 20px;
    text-align: right;
}

.forgot-link {
    font-size: 12px;
    color: #2b8ae2;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 14px;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.oauth-divider::before,
.oauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.oauth-google-wrap {
    text-align: center;
    margin-bottom: 8px;
}

.oauth-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid #dadce0;
    background: #fff;
    color: #3c4043;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.14);
    transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.oauth-google-btn:hover {
    background: #f8f9fa;
    border-color: #d2d5da;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.18);
}

.oauth-google-btn:active {
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.oauth-google-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oauth-google-btn__icon svg {
    display: block;
}

.oauth-google-btn__text {
    letter-spacing: 0.01em;
}

.oauth-google-gis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.oauth-google-gis__signin {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
}

.oauth-google-fallback {
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
}

.oauth-google-fallback a {
    color: #64748b;
    text-decoration: underline;
}

.oauth-google-fallback a:hover {
    color: #2b8ae2;
}

@media (max-width: 380px) {
    .oauth-google-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Pretraga: jedinstven izgled (uzglavlje + stranica pretraga + bilo koji include snippet-a) */
.site-search-wrapper {
    margin: 0 0 16px 0;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.site-search-wrapper--wide {
    max-width: none;
}

.site-search-wrapper--wide .site-search-form {
    max-width: none;
}

.site-search-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: none;
}

.site-search-label {
    font-weight: 700;
    font-size: 13px;
    color: #1f2937;
}

/* Jedan kompaktan kontrolnik: obična širina/višina kao standardno tekst-polje */
.site-search-combo {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-wrapper--wide .site-search-combo {
    max-width: min(420px, 100%);
}

.site-search-combo:focus-within {
    border-color: #2b8ae2;
    box-shadow: 0 0 0 3px rgba(43, 138, 226, 0.18);
}

.site-search-field {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 8px 10px;
    border: none;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    color: #1f2937;
    background: transparent;
    box-sizing: border-box;
}

.site-search-field::placeholder {
    color: #94a3b8;
}

.site-search-field:focus {
    outline: none;
}

/* Desni segment kao deo istog polja (ne poseban „kartica“ blok) */
.site-search-btn {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 12px;
    border: none;
    border-radius: 0;
    border-left: 1px solid #dfe7ef;
    background: #eef3f9;
    color: #1b5faa;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-search-btn:hover {
    background: #e4edf7;
    color: #144a87;
}

.site-search-btn:active {
    background: #d8e4f4;
}

@media (max-width: 420px) {
    .site-search-combo {
        max-width: 100%;
    }

    .site-search-btn {
        padding: 0 10px;
        font-size: 12px;
    }
}
