/* Rules & Tips Screen Styles */
.rules-tips-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

.rules-tips-nav {
    width: 250px;
    background-color: rgba(40, 40, 80, 0.9);
    padding: 20px;
    border-right: 1px solid #444;
    overflow-y: auto;
    color: #e0e0e0;
}

.rules-tips-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.rules-tips-menu-item {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #e0e0e0;
}

.rules-tips-menu-item:hover {
    background-color: rgba(60, 60, 100, 0.7);
    color: #ffffff;
}

.rules-tips-menu-item.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    border-left: 3px solid #00a8ff;
}

.rules-tips-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.rules-tips-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.rules-tips-section.active {
    display: block;
}

.rules-tips-subsection {
    margin-bottom: 30px;
}

.rules-tips-subsection h4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.back-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #5a6268;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* No additional styles needed here */