/* Guide Modal Styles */

.guide-meta {
    color: #999;
    font-size: 0.9rem;
}

.guide-meta span {
    display: inline-block;
    margin: 0 10px;
}

.guide-content {
    line-height: 1.8;
    color: #e0e0e0 !important;
    background: transparent !important;
}

.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4 {
    color: var(--rust-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.guide-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(206, 145, 54, 0.3);
    padding-bottom: 10px;
}

.guide-content h3 {
    font-size: 1.4rem;
}

.guide-content h4 {
    font-size: 1.2rem;
}

.guide-content p {
    margin-bottom: 15px;
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.guide-content li {
    margin-bottom: 8px;
}

.guide-content code {
    background: rgba(206, 145, 54, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--rust-primary);
    font-family: 'Courier New', monospace;
}

.guide-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.guide-content pre code {
    background: none;
    padding: 0;
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.guide-content table th,
.guide-content table td {
    padding: 12px;
    border: 1px solid rgba(206, 145, 54, 0.3);
    text-align: left;
}

.guide-content table th {
    background: rgba(206, 145, 54, 0.2);
    color: var(--rust-primary);
    font-weight: 600;
}

.guide-content blockquote {
    border-left: 4px solid var(--rust-primary);
    padding-left: 20px;
    margin: 20px 0;
    color: #ccc;
    font-style: italic;
}

.guide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.guide-content a {
    color: var(--rust-primary);
    text-decoration: none;
}

.guide-content a:hover {
    text-decoration: underline;
}

.guide-content hr {
    border: none;
    border-top: 2px solid rgba(206, 145, 54, 0.3);
    margin: 30px 0;
}

.guide-content strong {
    color: var(--rust-primary);
}

/* Modal adjustments */
#guideModal .modal-content {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
}

#guideModal .modal-header {
    background: #1a1a1a !important;
    border-bottom: 1px solid rgba(206, 145, 54, 0.3);
}

#guideModal .modal-body {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
}

#guideModal .modal-footer {
    background: #1a1a1a !important;
    border-top: 1px solid rgba(206, 145, 54, 0.3);
}

#guideModal .modal-title {
    color: var(--rust-primary) !important;
}

/* Fix white background in content */
#guideModalBody {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
}

#guideModalBody * {
    background: transparent !important;
    color: inherit !important;
}

#guideModalBody h1,
#guideModalBody h2,
#guideModalBody h3,
#guideModalBody h4,
#guideModalBody h5,
#guideModalBody h6 {
    color: var(--rust-primary) !important;
}

#guideModalBody strong {
    color: var(--rust-primary) !important;
}

#guideModalBody a {
    color: var(--rust-primary) !important;
}

#guideModalBody code {
    background: rgba(206, 145, 54, 0.1) !important;
    color: var(--rust-primary) !important;
}

#guideModalBody pre {
    background: rgba(0, 0, 0, 0.3) !important;
}

#guideModalBody table th {
    background: rgba(206, 145, 54, 0.2) !important;
    color: var(--rust-primary) !important;
}
