/* =================================================
   RESET & BASE
================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #222;
    line-height: 1.6;
}

/* =================================================
   GLOBAL LAYOUT
================================================= */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* =================================================
   OLD HEADER - păstrat pentru compatibilitate
================================================= */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-area {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 70px;
    width: auto;
    display: block;
}

.main-nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.main-nav a:hover {
    color: #1fa64a;
}

.nav-primary {
    padding: 9px 16px;
    background: #1fa64a;
    color: #fff !important;
    border-radius: 4px;
}

.nav-danger {
    padding: 9px 16px;
    background: #dc3545;
    color: #fff !important;
    border-radius: 4px;
}

/* =================================================
   PREMIUM HEADER
================================================= */
.gpm-premium-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 30px rgba(15,23,42,0.18);
}

.gpm-premium-container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gpm-premium-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.gpm-premium-logo img {
    height: 62px;
    width: auto;
    display: block;
}

.gpm-premium-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
}

.gpm-premium-nav a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 999px;
    transition: all .22s ease;
}

.gpm-premium-nav a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.09);
}

.gpm-premium-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.gpm-premium-actions a {
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border-radius: 999px;
    padding: 12px 18px;
    line-height: 1;
    transition: all .22s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gpm-btn-urgent {
    background: #f59e0b;
    color: #111827 !important;
    box-shadow: 0 12px 30px rgba(245,158,11,0.25);
}

.gpm-btn-urgent:hover {
    background: #fbbf24;
    color: #111827 !important;
    transform: translateY(-1px);
}

.gpm-btn-main {
    background: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(37,99,235,0.25);
}

.gpm-btn-main:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.gpm-btn-ghost {
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
}

.gpm-btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    color: #ffffff !important;
}

/* =================================================
   HERO INDEX AUTH
================================================= */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(15,23,42,.78), rgba(15,23,42,.78)),
        url('/fr/img/carousel-1.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 140px 20px 90px;
}

.hero .container {
    max-width: 980px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,110,253,.95);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 850;
    margin-bottom: 24px;
    line-height: 1.08;
}

.hero p {
    font-size: 1.22rem;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,.92);
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-main {
    background: #0d6efd;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    border: none;
}

.hero .btn-main:hover {
    background: #0b5ed7;
    color: #ffffff;
}

.hero .btn-secondary-custom {
    background: #ffffff;
    color: #0f172a;
    padding: 15px 28px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
}

.hero .btn-secondary-custom:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* =================================================
   SECTIONS AUTH LANDING
================================================= */
.section-pad {
    padding: 80px 0;
}

.section-title {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title h2 {
    font-weight: 850;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.section-title p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.08rem;
}

.info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 18px 45px rgba(15,23,42,.07);
}

.info-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eff6ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.35rem;
    font-weight: 850;
    margin-bottom: 14px;
}

.info-card p,
.info-card li {
    color: #475569;
    line-height: 1.75;
}

.info-card ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.steps {
    counter-reset: step;
}

.step-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    border: 1px solid rgba(15,23,42,.08);
    position: relative;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 850;
    margin-bottom: 12px;
}

.step-card p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0;
}

.rgie-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 30px;
    padding: 42px;
    overflow: hidden;
    position: relative;
}

.rgie-box h2 {
    font-weight: 850;
    margin-bottom: 18px;
}

.rgie-box p,
.rgie-box li {
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.rgie-box ul {
    margin-bottom: 0;
}

.notice {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 22px;
    color: #7c2d12;
    line-height: 1.75;
}

.cta-section {
    background:
        linear-gradient(rgba(13,110,253,.90), rgba(13,110,253,.90)),
        url('/fr/img/carousel-2.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.92);
    line-height: 1.8;
}

.cta-section .btn {
    background: #ffffff;
    color: #0f172a;
    padding: 15px 30px;
    border-radius: 14px;
    font-weight: 850;
    text-decoration: none;
}

.cta-section .btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* =================================================
   BUTTON GLOBAL
================================================= */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 32px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* =================================================
   FOOTER
================================================= */
footer {
    background: #111;
    color: #fff;
    padding: 25px 0;
    text-align: center;
    margin-top: 70px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.footer-links a i {
    color: #1fa64a;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* =================================================
   FORMS GLOBAL
================================================= */
.card {
    border-radius: 8px;
}

.form-label {
    font-weight: 500;
}

.input-group-text {
    background: #f4f6f8;
}

/* =================================================
   AUTH PAGES LOGIN / REGISTER
================================================= */
.auth-page {
    min-height: calc(100vh - 160px);
    padding: 40px 15px;
}

.auth-center {
    display: flex;
    justify-content: center;
}

.auth-card-wide {
    max-width: 900px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.auth-info-panel {
    background: linear-gradient(135deg, #1fa64a, #15803d);
}

.auth-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    opacity: 0.95;
}

.register-bg {
    position: relative;
    overflow: hidden;
}

.register-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/auth/assets/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 420px auto;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* =================================================
   AUTH LANDSCAPE
================================================= */
.auth-section {
    padding: 60px 0;
    background: #ffffff;
}

.auth-box {
    max-width: 1100px;
    margin: 0 auto;
}

.auth-left {
    padding: 40px;
    background: #f8f9fa;
}

.auth-left img {
    max-width: 160px;
    height: auto;
    margin-bottom: 25px;
}

.auth-right {
    padding: 40px;
}

/* =================================================
   RESPONSIVE
================================================= */
@media (max-width: 1200px) {
    .gpm-premium-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .gpm-premium-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .gpm-premium-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav a {
        margin-left: 0;
    }

    .site-logo {
        max-height: 48px;
    }

    .hero {
        min-height: 620px;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .section-pad {
        padding: 56px 0;
    }

    .rgie-box {
        padding: 28px;
    }

    .auth-card-wide {
        max-width: 420px;
    }

    .auth-left {
        display: none;
    }
}

@media (max-width: 576px) {
    .gpm-premium-container {
        width: min(100% - 20px, 1320px);
        gap: 12px;
        min-height: auto;
    }

    .gpm-premium-logo img {
        height: 54px;
    }

    .gpm-premium-nav a,
    .gpm-premium-actions a {
        font-size: 13px;
        padding: 10px 12px;
    }

    .gpm-premium-nav {
        gap: 4px;
    }

    .gpm-premium-actions {
        gap: 6px;
    }
}

/* =================================================
   PREMIUM FOOTER
================================================= */
.gpm-premium-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 80px 0 55px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.gpm-footer-brand img {
    max-height: 86px;
    width: auto;
    display: block;
}

.gpm-footer-text {
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 24px;
}

.gpm-premium-footer h4 {
    color: #ffffff;
    font-weight: 850;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.gpm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gpm-footer-links li {
    margin-bottom: 12px;
}

.gpm-footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: all .22s ease;
}

.gpm-footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.gpm-footer-contact p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255,255,255,0.72);
    margin-bottom: 14px;
}

.gpm-footer-contact i {
    color: #f59e0b;
    margin-top: 5px;
}

.gpm-footer-contact a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}

.gpm-footer-contact a:hover {
    color: #ffffff;
}

.gpm-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gpm-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .22s ease;
}

.gpm-footer-social a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.gpm-footer-cta {
    display: inline-flex;
    margin-top: 12px;
    background: #f59e0b;
    color: #111827;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 850;
    transition: all .22s ease;
}

.gpm-footer-cta:hover {
    background: #fbbf24;
    color: #111827;
    transform: translateY(-1px);
}

.gpm-footer-bottom {
    background: #020617;
    color: rgba(255,255,255,0.66);
    padding: 18px 0;
    font-size: 14px;
}

/* =================================================
   PREMIUM AUTH LOGIN PAGE
================================================= */
.gpm-auth-page {
    min-height: calc(100vh - 88px);
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.14), transparent 35%),
        radial-gradient(circle at bottom right, rgba(245,158,11,0.12), transparent 35%),
        #f8fafc;
    padding: 80px 0;
}

.gpm-auth-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15,23,42,0.14);
    border: 1px solid rgba(15,23,42,0.08);
}

.gpm-auth-info {
    position: relative;
    background:
        linear-gradient(rgba(15,23,42,.86), rgba(15,23,42,.90)),
        url('/fr/img/carousel-1.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 56px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gpm-auth-logo img {
    max-height: 86px;
    width: auto;
    margin-bottom: 28px;
}

.gpm-auth-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.95);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 24px;
}

.gpm-auth-info h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gpm-auth-info p {
    color: rgba(255,255,255,.84);
    line-height: 1.85;
    font-size: 1.08rem;
    margin-bottom: 26px;
}

.gpm-auth-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gpm-auth-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255,255,255,.88);
    margin-bottom: 13px;
    font-weight: 600;
}

.gpm-auth-info li i {
    color: #f59e0b;
    margin-top: 4px;
}

.gpm-auth-form {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gpm-auth-form-head h2 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}

.gpm-auth-form-head p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.gpm-auth-form .form-label {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.gpm-input-wrap {
    position: relative;
}

.gpm-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

.gpm-input-wrap .form-control {
    height: 56px;
    border-radius: 16px;
    padding-left: 46px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    font-weight: 600;
}

.gpm-input-wrap .form-control:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.gpm-auth-submit {
    border: none;
    height: 56px;
    border-radius: 16px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 900;
    transition: all .22s ease;
    box-shadow: 0 16px 35px rgba(37,99,235,.25);
}

.gpm-auth-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.gpm-auth-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    color: #94a3b8;
}

.gpm-auth-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 800;
}

.gpm-auth-links a:hover {
    color: #1d4ed8;
}

.gpm-auth-note {
    background: #eff6ff;
    color: #1e3a8a;
    padding: 16px;
    border-radius: 16px;
    line-height: 1.65;
    font-weight: 600;
    display: flex;
    gap: 10px;
}

.gpm-auth-note i {
    margin-top: 5px;
}

/* MOBILE */
@media (max-width: 991px) {
    .gpm-auth-card {
        grid-template-columns: 1fr;
    }

    .gpm-auth-info {
        min-height: auto;
        padding: 40px 28px;
    }

    .gpm-auth-form {
        padding: 40px 28px;
    }
}

@media (max-width: 576px) {
    .gpm-auth-page {
        padding: 40px 0;
    }

    .gpm-auth-card {
        border-radius: 22px;
    }
}