 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --pigme-sidebar-width: 260px;
    --pigme-header-height: 70px;
    
    /* Couleurs Identité */
    --pigme-primary: #2563eb;        /* Bleu Royal */
    --pigme-dark: #1e293b;          /* Ardoise (Sidebar) */
    --pigme-bg: #f8fafc;            /* Fond de page très clair */
    --pigme-text-main: #334155;
    --pigme-text-muted: #64748b;
    --pigme-border: #cbd5e1;
    
    --pigme-radius: 8px;
    --pigme-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--pigme-bg);
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--pigme-text-main);
    -webkit-font-smoothing: antialiased;
}
 
 
.input-group {
    border-radius: 6px;
    overflow: hidden; /* Empêche les débordements de bordures */
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;  
    background-color: #f8fafc;
    border: 1px solid var(--pigme-border);
    color: var(--pigme-text-muted);
    border-radius: 6px 0 0 6px !important;
    border-right: none !important;  
}

.pigme-input, .form-control {
    border: 1px solid var(--pigme-border) !important;
    height: 34px;
    font-size: 0.8rem;
    padding: 10px 12px;
    box-shadow: none !important;
    border-radius: 0 !important;  
}
 
#login_user {
    border-left: none !important;
    border-radius: 0 6px 6px 0 !important;
}
 
#login_pass {
    border-left: none !important;
    border-right: none !important;
}
 
.toggle-password {
    background-color: #ffffff !important;
    border: 1px solid var(--pigme-border) !important;
    border-left: none !important;
    border-radius: 0 6px 6px 0 !important;
    cursor: pointer;
    min-width: 46px;
    color: var(--pigme-text-muted);
}
 
.input-group:focus-within .input-group-text,
.input-group:focus-within .pigme-input,
.input-group:focus-within .toggle-password {
    border-color: var(--pigme-primary) !important;
    background-color: #fff;
}
 

.main-content-area {
    margin-left: var(--pigme-sidebar-width);
    padding: 2rem;
    padding-top: calc(var(--pigme-header-height) + 20px);
    transition: all 0.3s ease;
}

.section-title {
    display: flex;
    align-items: center;
    color: var(--pigme-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pigme-border);
    padding-bottom: 8px;
}

.section-title::before {
    content: "";
    width: 3px;
    height: 15px;
    background-color: var(--pigme-primary);
    margin-right: 10px;
    border-radius: 2px;
}

.pigme-card {
    background: #ffffff;
    border: 1px solid var(--pigme-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--pigme-shadow);
}
 

.pigme-sidebar {
    width: var(--pigme-sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--pigme-dark);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.sidebar-nav .nav-link {
    color: #94a3b8;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    margin: 2px 0;
}

.sidebar-nav .nav-link.active {
    background: var(--pigme-primary);
    color: #fff !important;
}
 

.btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background-color: navy;
    border-color: navy;
}

.btn-primary:hover {
    background-color: navy;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.15);
}
 
.required-field {
    border-left: 3px solid #ef4444 !important;
}