.container{
    max-width:1000px;
    margin:20px auto;
    padding:20px;
}

.law-box{
    background:#ffffff;
    border:2px solid rgb(232, 162, 117);
    border-radius:12px;
    padding:25px;
    line-height:2.2;
}

.law-title{
    font-size:22px;
    color:rgb(116, 65, 246);
    margin-bottom:15px;
    font-weight:bold;
}

.article{
    margin-bottom:20px;
}

.article-title{
    font-weight:bold;
    color:rgb(232, 162, 117);
}

.note{
    background: rgba(232,162,117,0.2);
    padding:15px;
    border-radius:10px;
    margin-top:15px;
}
.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    width: fit-content;
    margin-bottom: 15px;
}

.controls.fixed {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

input {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    width: 180px;
}

input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.nav-buttons {
    display: flex;
    gap: 5px;
}

button {
    border: none;
    background: #f3f4f6;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

button:hover {
    background: #e5e7eb;
}

#counter {
    font-size: 13px;
    color: #6b7280;
    min-width: 50px;
    text-align: center;
}

.highlight {
    background-color: #fde68a;
    border-radius: 4px;
    padding: 1px 2px;
}

.active {
    background-color: #f59e0b;
    color: white;
}

tr{
    display:flex;
    flex-direction:column;
    text-align:center;
    width:100%;
}
td{
    border-bottom: 1px dashed;
}