body {
    background-color: #f8f9fb;
    font-size: 14px;
}

.logo {
    height: 40px;
}

.page-title {
    display: inline-block;
    font-weight: 600;
    color: #5488C7;
    font-size: 1rem;
}


/* HERO */
.hero {
    height: 260px;
    background-image: url("/images/login_bg.webp");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero h1 {
    font-size: 32px;
    font-weight: 600;
}

.hero p {
    max-width: 600px;
}

/* TAB ÎNREGISTRARE */
.registration-tab {
    margin-top: 25px;
    padding-bottom: 10px;
    width: fit-content;
    color: #1e5aa7;
    font-weight: 600;
    border-bottom: 2px solid #1e5aa7;
}

/* FORM */
.form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
    color: #1e5aa7;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h6 {
    font-weight: 600;
    margin-bottom: 15px;
}

.form-control {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 0;
    border: 1px solid #5488C7;
}

label{
    margin-left: 10px;
    margin-bottom: 5px;
    color: black;
}

.form-control-square {
    border-radius: 0px;
    padding: 10px 16px;
    font-size: 14px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #1e5aa7;
}

.captcha {
    max-width: 300px;
}

.btn-primary {
    background-color: #004899;
    border: none;
    border-radius: 0;
    padding: 10px 28px;
}

.btn-primary:hover {
    background-color: #164a8a;
    border-radius: 0 !important;
    border: none !important
}

.btn-secondary{
    background-color: #5488C7;
    border-radius: 0;
    border: none;
    padding: 10px 28px;
}

.btn-secondary:hover {
    background-color: #5488C7;
    border-radius: 0 !important;
    border: none !important
}

/* AUTH */
.bg-auth {
    background-image: url('/images/login_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.login-left {
    background-color: #004899;
}

.custom-link{
    color: #004899;
}

@media (max-width: 992px) {
    .login-left, .login-right {
        text-align: center !important;
    }
}

.how-it-works .card {
    position: relative;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    max-width: 350px;
}

.how-it-works .card-icon {
    position: absolute;
    top: 50px; /* distanța față de topul cardului */
    left: -30px; /* distanța față de stânga cardului */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #5a86c2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}


/* Footer */
footer {
    background-color: #1f4e88;
    color: white;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive icon cards */
@media (min-width: 992px) {
    .how-it-works .card {
        margin-top: 40px;
    }
}
/* elimină orice spațiu între bandă și hero */
.hero {
    margin-top: 0;
}
.top-blue-bar {
    background-color: #003B86;
    color: #fff;
    padding: 8px 0;
    font-size: 0.95rem;
}

.top-blue-bar span {
    font-weight: 600;
}

.custom-table {
    border-collapse: collapse;
}

.custom-table th,
.custom-table td {
    border: none !important;
    padding: 12px 14px;
    vertical-align: middle;
    background-color: #fff !important;
}

/* cap tabel */
.custom-table thead th {
    font-weight: 700;
    border-bottom: 3px solid #003B86 !important;
    white-space: nowrap;
}

/* linie subtire sub fiecare rand */
.custom-table tbody tr {
    border-bottom: 1px solid #003B86;
}

/* fara linie pe ultimul rand */
.custom-table tbody tr:last-child {
    border-bottom: none;
}

.custom-tabs .nav-link {
    border-radius: 0px; /
margin-right: 0.5rem;
    background-color: #fff;
    color: #000;
    border: 1px solid #1f4e88;
    padding: 10px 28px;
}

.custom-tabs .nav-link.active {
    background-color: #1f4e88;
    color: #fff;
    border-color: #1f4e88;
}

.custom-tabs .nav-link:focus, .custom-tabs .nav-link:hover {
    color: #fff;
    background-color: #1f4e88;
}

.card-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding-top: 100px !important;
}

.promo-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-description {
    height: 60px;
}

.promo-description p {
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-success {
    background-color: #1f4e88!important;
}

.promo-detail-img {
    max-height: 450px;
    overflow: hidden;
    border-radius: 12px;
}

.promo-detail-img img {
    object-fit: cover;
    height: 100%;
}

.promo-detail-description {
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}

.promo-detail-description p {
    margin-bottom: 1rem;
}
