#check-module {
    background: linear-gradient(135deg, #0e1216, #171c23);
    border: 1px solid #2f3a45;
    border-radius: 4px;
    padding: 0.75rem;
    max-width: 32rem;
}

.main-layout { 
    display: flex; 
    gap: 0.75rem;
}

.left-section { 
    flex: 3; 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    background: rgba(51, 65, 85, 0.5);
    padding: 0.75rem;
    border-radius: 0.5rem;
    min-height: 150px;
    min-width: 120px;
}

.input-section { 
    padding: 0.75rem; 
    background: rgb(51 65 85); 
    border-radius: 0.5rem; 
}

.section-label {
    display: block;
    font: 600 0.75rem/1.5 sans-serif;
    text-transform: uppercase;
    color: rgb(148 163 184);
    margin-bottom: 0.25rem;
}

.section-text { 
    font: 500 0.75rem/1.5 sans-serif; 
    color: rgb(226 232 240); 
}

.input-field {
    background: rgba(30, 36, 44, 0.8);
    border: 1px solid #2f3a45;
    color: #c9d4df;
    border-radius: 4px;
    width: 100%;
    padding: 0.5rem;
    font: 700 0.75rem/1 sans-serif;
    text-align: center;
}

#roll-result {
    font: 800 1.4rem/1 sans-serif;
    color: #c9d4df;
    text-shadow: 0 0 5px rgba(201, 212, 223, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    height: 100%;
}

.status-badge {
    font: 600 0.875rem/1 sans-serif;
    padding: 0.5rem 0.3rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid #2f3a45;
    color: #c9d4df;
    background: rgba(47, 58, 69, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-success { 
    border-left: 3px solid #4ade80; 
}

.status-failure { 
    border-left: 3px solid #f87171; 
}

.status-initial { 
    color: #aeb9c4; 
    background: rgba(30, 36, 44, 0.6); 
    border-left: 3px solid #2f3a45; 
}

#perform-check-btn {
    background: linear-gradient(135deg, #a89a44, #8a7a3a);
    color: #0e1216;
    font: 700 0.75rem/1 sans-serif;
    border-radius: 4px;
    border: 1px solid #2f3a45;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 0;
    text-transform: uppercase;
    cursor: pointer;
}

#perform-check-btn:hover { 
    background: linear-gradient(135deg, #b8a954, #9a8a4a); 
    transform: translateY(-1px); 
}

/* Story section styles */
#story-section {
    background: linear-gradient(135deg, #0e1216, #171c23);
    border: 1px solid #2f3a45;
    border-radius: 4px;
    padding: 0.75rem;
    max-width: 32rem;
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#story-section.show {
    opacity: 1;
    transform: translateY(0);
}

.story-content {
    font: 400 0.75rem/1.6 sans-serif;
    color: rgb(203 213 225);
    text-align: justify;
    margin-top: 0.5rem;
}

.story-footer {
    font: 500 0.75rem/1.4 sans-serif;
    color: rgb(148 163 184);
    text-align: center;
    margin-top: 0.75rem;
    background: rgba(47, 58, 69, 0.3);
    border-radius: 4px;
    border: 1px solid #2f3a45;
}
