/* File: public/assets/css/chat_rules_styles.css */
:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --card-bg: #ffffff;
    --border-color: #d4af37;
    --highlight-bg: #fff8e1;
    --highlight-border: #ffc107;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --card-bg: #2c2c2c;
    --border-color: #ffd700;
    --highlight-bg: #3a3a3a;
    --highlight-border: #ffd700;
}

body {
    /* font-family: 'Cairo', sans-serif; */
    /* background-color: var(--bg-color); */
    /* color: var(--text-color); */
}

.container {
    /* max-width: 800px; */
    /* margin: 0 auto; */
    /* padding: 20px; */
}

h1, h2, h3, p, ul {
    text-align: center;
}

h1 {
    color: var(--border-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card {
    background-color: #ffffff29;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

ul {
    list-style-position: inside;
    padding-right: 0;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: right;
}

.rules-section .card {
    border-top: 5px solid var(--border-color);
}

.tips-section .card {
    border-top: 5px solid #4caf50;
}

.warning-section .card {
    border-top: 5px solid #f44336;
    background-color: var(--highlight-bg);
}

.note-section .card {
    border-top: 5px solid #2196f3;
    background-color: var(--highlight-bg);
}

p, li {
    text-align: justify;
}

.highlight {
    background-color: var(--highlight-bg);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--highlight-border);
    text-align: center;
}

.section-header {
    /* background-color: var(--card-bg); */
    border-bottom: 2px solid var(--border-color);
    padding: 15px;
    margin-bottom: 20px;
}

.rule-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.rule-item:last-child {
    border-bottom: none;
}

.highlight-box {
    background-color: #fff8e170;
    border-right: 4px solid var(--highlight-border);
    padding: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card-body {
        padding: 15px;
    }
}