body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #000000;
    color: #d1d1d1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #00000000;
}

.container {
    position: relative;
    display: flex;
    width: 1200px;
    height: 700px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    border: 2px solid #ff005c;
    border-radius: 5px;
    overflow: hidden;
    background: #000000;
    transition: all 0.3s ease;
}

.container.closing {
    animation: fadeOut 0.5s forwards;
}
.container.opening {
    animation: fadeIn 0.5s forwards;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    background: linear-gradient(135deg, #ff0080, #0073b1);
    color: white;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close-button:hover {
    background: linear-gradient(135deg, #ff0080, #0073b1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}
.close-button:active {
    transform: rotate(90deg) scale(0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sidebar {
    width: 300px;
    background-color: #1c1c1c;
    color: #d1d1d1;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 3px 0 0 3px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff005c #0073b1;
    border: 2px solid #ff005c;
    border-right: 2px solid #ff005c;
    background: linear-gradient(135deg, #000000, #000000);
    transition: background 0.3s;
}
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #000000;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 4px;
}


.settings-icon {
    font-size: 26px;
    cursor: pointer;
    color: #d1d1d1;
    transition: color 0.3s;
    margin-bottom: -8px;
}
.settings-icon:hover {
    color: #ffffff;
}
.settings-icon:hover i {
    transform: rotate(360deg);
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: #ff005c;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.sidebar button {
    width: 100%;
    padding: 14px 16px;
    margin: 6px 0;
    background: linear-gradient(135deg, #000000, #000000);
    border: none;
    color: #d1d1d1;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
    justify-content: flex-start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);
}
.sidebar button:hover {
    background: linear-gradient(135deg, #000000, #000000);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
    transition: transform 0.3s;
    font-weight: bold;
}
.sidebar button:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

.content {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
    overflow-y: auto;
    background-color: #000000;
    border-left: 2px solid #ff005c;
    border: 2px solid #ff005c;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.content h3 {
    color: #ff005c;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.content p {
    color: #d1d1d1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.content a {
    color: #ff005c;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.content a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff005c;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}
.content a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}
.content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 0, 92, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 25px;
    border: 2px solid #ff005c;
    width: 70%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    animation: modalopen 0.5s;
}

.search-bar {
    margin-bottom: 15px;
    padding-right: 25px;
}
.search-bar input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ff005c !important;
    border-radius: 5px;
    font-size: 16px;
    background-color: #000000;
    color: #d1d1d1;
}

.full-screen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
    display: none;
}
.full-screen-img img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    animation: fadeIn 1s;
}

select {
    width: 35%;
    padding: 12px;
    border: 1px solid #ff005c;
    border-radius: 5px;
    background-color: #000000;
    color: #d1d1d1;
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff005c" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}
select:hover {
    border-color: #ff005c;
}
select:focus {
    border-color: #ff005c;
    box-shadow: 0 0 5px rgba(255, 0, 92, 0.5);
    outline: none;
}
select option {
    padding: 10px;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}
@keyframes modalopen {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.subcategory-container {
    padding-left: 20px;
    border-left: 2px solid #ff005c;
    margin-bottom: 0px;
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.subcategory-container.open {
    display: block;
    max-height: none; 
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title .icon {
    flex-shrink: 0;
}