/* Plan de Comptes Styles */
.plan-comptes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    font-family: Arial, sans-serif;
}

/* System Tabs */
.system-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.system-tab {
    padding: 7px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
      background-color: #2f3189;
    color: white;
}

.system-tab.active {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    background-color: #db5656;
  color: white;
}

.system-tab:hover{
    transition: all 0.3s ease;
  color: white;
    background-color: #db5656;
}
.system-tab:focus{
    transition: all 0.3s ease;
  color: white;
    background-color: #db5656;
}
h2.system-title {
    font-size: 18px;
    font-weight: 600;
}
/* System Title */
.system-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

/* Classes Navigation */
.classes-nav {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px; */

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.classe-link {
    padding: 5px 6px;
    font-weight: 200 !important;
    text-decoration: none !important;
    font-size: 13px;
    color: #000099;
    transition: all 0.2s ease;
    border-radius: 5px;
    background: #f0f0f0;
}

.classe-link:hover {
    color: #ff0000;
    background: #e0e0e0;
}

/* Classes Content */
.classe-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.classe-header {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.classe-number {
    color: #000099;
    font-weight: bold;
    padding-right: 5px;
}
h3.classe-header {
    font-size: 16px;
}
.classe-title {
    color: #dc3545;
    font-weight: bold;
}

.classe-content {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 25px;
}
.classes-content {
    padding-left: 50px;
    padding-right: 50px;
}
/* Account items styling
.classe-content a {
    text-decoration: none;
    color: #0056b3;
}

.classe-content a:hover {
    text-decoration: underline;
} */

/* Specific account styles */
/* .main-account {
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #0056b3;
} */

/* .sub-account {
    margin-top: 15px;
    margin-bottom: 8px;
    padding-left: 15px;
    font-weight: bold;
} */

.detailed-account {
    margin-top: 5px;
    margin-bottom: 5px;
}



.main-account, 
.sub-account, 
.detailed-account, 
.sub-detailed-account, 
.micro-account {
    position: relative;  
    margin: 5px 0;
    line-height: 1.5;
    padding-left: 0;    
}

.account-number {
    position: absolute;
    left: 0;
    text-align: left;
    width: 45px;      
}

.account-name {
    padding-left: 45px;  
    display: block;
}


.main-account {
    margin-left: 0;

}

.sub-account {
    margin-left: 20px;
}

.detailed-account {
    margin-left: 40px;
}

.sub-detailed-account {
    margin-left: 60px;
}

.micro-account {
    margin-left: 80px;
    font-style: italic;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-account{
        font-size: 13px!important;
    }
    .sub-account{
        font-size: 13px!important;
    }
    .detailed-account{
        font-size: 13px!important;
    }
    .sub-detailed-account{
        font-size: 13px!important;
    }
    .classe-content {
        padding-left: 0px;
    }
    .classes-content {
        padding-left: 00px;
        padding-right: 00px;
    }
    .system-tabs {
        flex-direction: column;
    }
    
    .system-tab {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .classe-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .classe-number, .classe-title {
        display: block;
        margin-bottom: 5px;
    }
    .account-name {
        line-height: 14px;
        padding-top: 3px;
    }
}