* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Footer */
.dw-header, .dw-footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid #ff4757;
}

.dw-header h1 {
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.dw-header .subtitle {
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
}

.dw-footer {
    border-bottom: none;
    border-top: 1px solid #333;
    margin-top: auto;
    font-size: 12px;
    color: #666;
}

.container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.notice-box {
    background-color: rgba(255, 71, 87, 0.1);
    border-left: 4px solid #ff4757;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.notice-box h3 {
    color: #ff4757;
    margin-bottom: 5px;
    font-size: 16px;
}

.notice-box p {
    font-size: 14px;
    color: #ddd;
}

/* Accordion */
.accordion-section {
    margin-bottom: 30px;
}

.accordion {
    background-color: #1e1e1e;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 4px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion::after {
    content: '\002B'; /* เครื่องหมาย + */
    color: #ff4757;
    font-weight: bold;
    font-size: 20px;
    margin-left: 10px;
}

.accordion.active::after {
    content: "\2212"; /* เครื่องหมาย - */
}

.accordion:hover, .accordion.active {
    background-color: #2a2a2a;
}

.panel {
    padding: 0 15px;
    background-color: #121212;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 4px 4px;
}

.panel ol {
    margin: 15px 0 15px 20px;
    color: #ccc;
    font-size: 14px;
}

.panel a {
    color: #ff4757;
    text-decoration: none;
}

/* Back Button */
.action-container {
    text-align: center;
    margin-top: 20px;
}

.btn-back {
    display: inline-block;
    background-color: #ff4757;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
    width: 100%;
    max-width: 300px;
}

.btn-back:hover {
    background-color: #e03e4d;
}

.btn-back:active {
    transform: scale(0.97);
}

/* FAQ Box */
.faq-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-top: 4px solid #ff4757;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.faq-box h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    border-bottom: 1px dashed #444;
    padding-bottom: 15px;
}

.faq-box h3 span {
    color: #ff4757;
    font-size: 16px;
    font-weight: normal;
}

.faq-box p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 12px;
}

.faq-box .faq-intro {
    color: #fff;
    font-size: 15px;
}

.faq-item {
    background-color: #222;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid #555;
}

.faq-item .highlight-text {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 13px;
    color: #aaa;
}

.faq-box .faq-outro {
    text-align: center;
    color: #ff4757;
    font-weight: bold;
    margin-top: 20px;
    font-style: italic;
}

div.h3 {
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
}

/* Header & Footer */
.dw-header, .dw-footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid #ff4757;
    position: relative;
}




.header-back-btn {
    position: absolute;
    left: 20px;       
    top: 50%;         
    transform: translateY(-50%); 
    color: #ff4757;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s, transform 0.1s;
}

.header-back-btn:hover {
    color: #fff; 
}

.header-back-btn:active {
    transform: translateY(-50%) scale(0.9);
}