html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.card .card-header{
    border-radius:9px;
}

.border-magenta {
    border-color: magenta !important;
}

.bg-magenta {
    background-color: magenta !important;
}

.btn-magenta {
    background-color: magenta;
    border-color: magenta;
    color: white;
}

    .btn-magenta:hover {
        background-color: #cc00cc;
        border-color: #cc00cc;
    }

/* footer */
.custom-footer {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 40px 0 20px 0;
    margin-top: 0!important;
}

    .custom-footer h5,
    .custom-footer h6 {
        color: #fff;
    }

.footer-link {
    color: #ddd;
    text-decoration: none;
}

    .footer-link:hover {
        color: #2c3e50;
        text-decoration: none;
    }

.footer-social {
    color: #ffffff !important; 
    margin-right: 10px;
    font-size: 1.3rem;
}

    .footer-social:hover {
        color: #2c3e50 !important;
    }

.ad-banner-container {
    margin: 20px 0;
    max-width: 100%;
}

.ad-banner {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.75rem;
    color: #6c757d;
}

.ad-content {
    margin-top: 10px;
}

/* Pentru bannere responsive */
@media (max-width: 768px) {
    .ad-banner {
        padding: 10px;
    }
}

.card {
    border-radius: 10px;
  
}

/* ?? SCALING GLOBAL pentru toate paginile aplica?iei */

/* 1?? Baz? – comportament standard */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px; /* punctul de pornire */
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
}

.main-content {
    flex: 1;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2?? Con?inutul principal (Bootstrap .container sau orice container personalizat) */
.container, .container-fluid, .main-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

/* 3?? Elemente comune (carduri, butoane, etc.) */
.card {
    transition: all 0.3s ease-in-out;
}

button, .btn {
    transition: all 0.2s ease-in-out;
}

/* ------------------------------- */
/* ?? Breakpoints responsive custom */
/* ------------------------------- */

/* Ecrane mari (Full HD – 1920px+) */
@media (min-width: 1920px) {
    html, body {
        font-size: 18px; /* cre?te fontul global */
    }

    .container, .container-fluid, .main-container {
        max-width: 1800px;
    }

    .card {
        transform: scale(1.02);
    }
}

/* ??? Ecrane UltraWide (3000px+) */
@media (min-width: 3000px) {
    html, body {
        font-size: 20px; /* text mai mare, propor?ional */
    }

    .container, .container-fluid, .main-container {
        max-width: 2600px;
        width: 90%;
    }

    .card {
        transform: scale(1.02);
    }

}

/* ??? Ecrane 4K–5K (4000px+) */
@media (min-width: 4000px) {
    html, body {
        font-size: 20px;
    }

    .container, .container-fluid, .main-container {
        max-width: 3200px;
        width: 92%;
    }

    .card {
        transform: scale(1.02);
    }
}

/* ?? Pe ecrane mici (<768px) – mic?or?m totul */
@media (max-width: 768px) {
    html, body {
        font-size: 14px;
    }

    .container, .container-fluid, .main-container {
        width: 100%;
        padding: 0 1rem;
    }

    .card {
        transform: scale(0.98);
    }

    footer {
        display: none;
    }

}
