/* Variables globales */
:root {
    --primary-color: #008080;
    --secondary-color: #009999;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header et Navigation */
.navbar {
    background-color: #00436b!important;
    box-shadow: var(--box-shadow);
    padding: 1rem 2rem;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Boutons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Forms */
.form-control {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 67, 107, 0.25);
}

/* Scanner section */
.scanner-section {
    padding: 2rem 0;
    margin-top: 76px;
}

.scanner-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

/* Dashboard cards */
.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.stats-number {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.stats-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scanner-box {
    animation: fadeIn 0.5s ease-in;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 
General
*/
h1,h2,h3,h4,h5,h6{
  font-family: 'Century Gothic Paneuropean', sans-serif;                                                
}

p {
  font-family: "Montserrat", sans-serif;
}

a{
  font-family: "Montserrat", sans-serif;
}

/* 
Navbar
*/

.navbar-nav {
  margin-left: auto;
}

nav ul li a {    
  color: #ffffff!important;
  font-family: "montserrat", sans-serif;
  font-size: 17px;
}

#mainNav {
  background-color: #00436b;
  font-family: "montserrat", sans-serif;
  padding-left: 3%;
  padding-right: 3%;

}

.navbar-nav {
  margin-left: auto;
}

.nav-link {
  color: #ffffff !important;
}

.nav-link:hover{
  color: #cc420f!important;
}

.navbar-collapse {
  margin-left: 200px;
  font-family: "montserrat", sans-serif;
  font-size: 17px;
}

.nav-contact {
  background: #cc420f 0% 0% no-repeat padding-box;
  opacity: 1;
  border-radius: 25px;
}

.nav-contact:hover{
  color: #ffffff!important;
}

.dropdown-item{
  color: #cc420f!important;
}

.active {
  color: #cc420f;
}



footer{
  background-color: #00436b;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
}
.sidebar {
  background-color: #00436b;
  height: 100vh;
  padding-top: 20px;
}
.sidebar a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
  margin-bottom: 10px;
}
.sidebar a:hover {
  background-color: #cc420f;
}
.scanner-section {
  margin-top: 5%;
}
.scanner-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.scanner-button, .manual-button {
  background-color: #cc420f;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
}
.scanner-button:hover, .manual-button:hover {
  background-color: #d85a24;
}
.manual-section {
  margin-top: 40px;
}
.manual-input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.manual-submit {
  background-color: #cc420f;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
}
.manual-submit:hover {
  background-color: #d85a24;
}