:root{
  --primary:#3AA7FF;
  --primary-dark:#1E7FD6;
  --bg:#FFFFFF;
  --surface:#F6FAFF;
  --text:#0B1220;
}

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

.app-topbar{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.brand-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 6px rgba(255,255,255,.15);
}

.card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,.05);
}

.soft-surface{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover{
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.login-page-wrap {
    /*background: radial-gradient(circle at top left, rgba(58, 167, 255, 0.12), transparent 30%), radial-gradient(circle at bottom right, rgba(21, 74, 148, 0.10), transparent 30%), #f4f8fc; */
    min-height: 100vh;
}

.login-shell {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(21, 74, 148, 0.08);
}

.login-brand-panel {
    position: relative;
    min-height: 720px;
    height: 100%;
    background: linear-gradient(135deg, #154a94 0%, #1f6ad1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 48px;
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 22%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 26%);
    pointer-events: none;
}
.portfolio-block form {
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
}
.brand-content {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.brand-logo {
    max-width: 180px;
    /*filter: brightness(0) invert(1);*/
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.brand-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.95);
}

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.10);
}

.login-form-panel {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px;
    background: #ffffff;
}

.mobile-logo {
    max-width: 170px;
}

.login-form-header {
    text-align: left;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #154a94;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0;
}

.login-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.login-input {
    height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
    padding: 0 16px;
    font-size: 0.97rem;
    box-shadow: none;
    transition: all 0.2s ease;
}

    .login-input:focus {
        border-color: #3aa7ff;
        box-shadow: 0 0 0 0.2rem rgba(58, 167, 255, 0.15);
    }

.login-btn-primary {
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #154a94 0%, #1f6ad1 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .login-btn-primary:hover {
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(21, 74, 148, 0.18);
    }

.login-btn-secondary {
    height: 52px;
    border-radius: 14px;
    border: 1px solid #cfe0f5;
    background: #f8fbff;
    color: #154a94;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .login-btn-secondary:hover {
        background: #eef6ff;
        color: #0f3c79;
        border-color: #b9d4f3;
    }

.login-links {
    font-size: 0.95rem;
}

.login-link {
    color: #154a94;
    text-decoration: none;
    font-weight: 600;
}

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

.public-offers-page {
    /*background: radial-gradient(circle at top left, rgba(58, 167, 255, 0.10), transparent 25%), radial-gradient(circle at bottom right, rgba(21, 74, 148, 0.08), transparent 25%), #f4f8fc;*/
    min-height: 100vh;
    padding: 30px 0 60px;
}

.offers-hero {
    padding-top: 20px;
}

.offers-hero-content {
    padding-right: 20px;
}

.offers-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(21, 74, 148, 0.08);
    color: #154a94;
    font-weight: 600;
    font-size: 0.9rem;
}

.offers-title {
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 700;
    color: #154a94;
    margin-bottom: 0;
}

.offers-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 650px;
    margin-bottom: 0;
}

.offers-search-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(21, 74, 148, 0.08);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.06);
    padding: 28px;
}

.offers-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #154a94;
}

.offers-empty-state {
    background: #ffffff;
    border: 1px dashed rgba(21, 74, 148, 0.15);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
}

.offer-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(21, 74, 148, 0.07);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .offer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    }

.offer-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.offer-location {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 500;
}

.offer-status-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 12px;
}

.offer-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #154a94;
    line-height: 1.4;
    min-height: 58px;
}

.offer-card-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 82px;
    margin-bottom: 0;
}

.offer-meta {
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.offer-meta-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.offer-meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.offer-card-btn {
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #154a94 0%, #1f6ad1 100%);
    color: #ffffff;
    font-weight: 600;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .offer-card-btn:hover {
        color: #ffffff;
        box-shadow: 0 12px 24px rgba(21, 74, 148, 0.18);
    }

@media (max-width: 991.98px) {
    .offers-title {
        font-size: 2rem;
    }

    .offers-search-card {
        padding: 22px;
    }

    .offer-card-title {
        min-height: auto;
    }

    .offer-card-desc {
        min-height: auto;
    }
}

@media (max-width: 991.98px) {
    .login-shell {
        border-radius: 20px;
    }

    .login-form-panel {
        min-height: auto;
        padding: 36px 24px;
    }

    .login-title {
        font-size: 1.7rem;
    }
}

.mini-stat-card {
    border-radius: 18px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.table-wrap {
    border-radius: 18px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.app-kpi {
    font-size: 2rem;
    font-weight: 700;
    color: #154a94;
}

.register-brand-panel {
    min-height: 100%;
}

.register-form-panel {
    min-height: 100%;
    padding: 48px 56px;
}

.section-title {
    margin-top: 8px;
    margin-bottom: 2px;
    font-size: 1rem;
    font-weight: 700;
    color: #154a94;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6eef8;
}

.login-textarea {
    min-height: 110px;
    height: auto;
    padding-top: 12px;
    resize: vertical;
}

.file-input {
    height: auto;
    padding: 12px 14px;
}

@media (max-width: 991.98px) {
    .register-form-panel {
        padding: 32px 22px;
    }
}

/* Change theme quickly by editing /wwwroot/css/theme.override.css (gitignored if quiseres) */
@import url("/css/theme.override.css");

.login-disclaimer {
    margin: 24px auto 0;
    max-width: 1500px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #fff8e1;
    border: 1px solid #f0d98a;
    border-left: 4px solid #d4a017;
    border-radius: 14px;
    color: #5f4b16;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.disclaimer-icon {
    font-size: 1.25rem;
    line-height: 1;
    color: #b8860b;
    margin-top: 2px;
}

.disclaimer-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #6d5312;
}

.disclaimer-text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #6b5a2b;
}