/* Base styles */
* {
    box-sizing: border-box;
}
/*
.dbg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dbg-container h1 {
    color: #1A365D;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    position: relative;
    padding-bottom: 0.5rem;
}

.dbg-container h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100px, 30%);
    height: 3px;
    background-color: #D4AF37;
}

.dbg-container h2 {
    color: #1A365D;
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    text-align: center;
}

.dbg-container h3 {
    color: #2B6CB0;
    margin-bottom: 0.75rem;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.dbg-container p {
    margin-bottom: 0.75rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Step navigation */

.dbg-feature-text ul {
  display: flex;        /* Lay out items horizontally */
  flex-wrap: wrap;      /* Allow them to wrap to the next line */
  list-style-type: disc; /* Show default bullets */
  margin: 0;
  padding: 0;
  gap: 1rem;            /* Space between items */
  font-size: 0.8rem;    /* Make text smaller */
}

.dbg-feature-text ul li {
  margin-left: 1rem;    /* Indent each bullet slightly */
  white-space: nowrap;  /* Keep individual list items from splitting mid-word */
}

.dbg-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
    flex-wrap: wrap;
}


.dbg-step-button {
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #4A5568;
    font-weight: 600;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
    margin: 0.25rem;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.dbg-step-button:hover {
    color: #2B6CB0;
    background-color: #EBF8FF;
}

.dbg-step-button.active {
    color: #2B6CB0;
    background-color: #EBF8FF;
}

.dbg-step-button.active:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: #2B6CB0;
}
*/
/* Content panels */
.dbg-content-panel {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .dbg-content-panel {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* Cards grid */
.dbg-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .dbg-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .dbg-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

.dbg-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.dbg-card:hover {
    border-color: #90CDF4;
    transform: translateY(-2px);
}

.dbg-card.active {
    border-color: #3182CE;
    background-color: #EBF8FF;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dbg-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dbg-card-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

@media (min-width: 768px) {
    .dbg-card-icon {
        font-size: 1.8rem;
    }
}

.dbg-card-title {
    font-weight: 700;
    color: #2D3748;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

/* Details box */
.dbg-details-box {
    background-color: #EBF8FF;
    border: 1px solid #BEE3F8;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .dbg-details-box {
        padding: 1.5rem;
    }
}

.dbg-details-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2B6CB0;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.dbg-detail-item {
    margin-bottom: 0.5rem;
}

.dbg-detail-label {
    font-weight: 600;
    color: #4A5568;
}

/* Navigation buttons */
.dbg-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dbg-nav-button {
    padding: 0.75rem 1.25rem;
    background-color: #3182CE;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    font-size: clamp(0.8rem, 2vw, 1rem);
    white-space: nowrap;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

@media (min-width: 480px) {
    .dbg-nav-button {
        flex: 0 1 auto;
    }
}

.dbg-nav-button:hover {
    background-color: #2C5282;
}

.dbg-nav-button.back {
    background-color: #E2E8F0;
    color: #4A5568;
}

.dbg-nav-button.back:hover {
    background-color: #CBD5E0;
}

/* Feature section */
.dbg-feature-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .dbg-feature-section {
        flex-direction: row;
    }
}

.dbg-feature-text {
    flex: 1;
    padding: 0.5rem;
}

@media (min-width: 640px) {
    .dbg-feature-text {
        padding: 1rem;
    }
}

.dbg-feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.dbg-circle-icon {
    width: min(180px, 90%);
    height: min(180px, 90vw);
    background-color: #EBF8FF;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .dbg-circle-icon {
        width: 200px;
        height: 200px;
    }
}

.dbg-big-emoji {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 0.5rem;
}

.dbg-small-text {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

/* Lists */
.dbg-container ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.dbg-container ul li {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Summary section */
.dbg-summary-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background-color: #F7FAFC;
}

.dbg-summary-heading {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #2D3748;
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.dbg-summary-icon {
    margin-right: 0.5rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Restrictions list */
.dbg-restrictions-list {
    column-count: 1;
}

@media (min-width: 640px) {
    .dbg-restrictions-list {
        column-count: 1;
    }
}

@media (min-width: 1024px) {
    .dbg-restrictions-list {
        column-count: 1;
    }
}

/* Hide sections */
.dbg-section {
    display: none;
}

.dbg-section.active {
    display: block;
}

/* Text alignment utilities */
.dbg-text-center {
    text-align: center;
}

/* For very small screens */
@media (max-width: 350px) {
    .dbg-steps-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dbg-step-button {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .dbg-step-button.active:after {
        display: none;
    }
}