.terms-container {
    max-width: 600px;
    width: 100%;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
}

.step-item.active {
    color: var(--theme-dark);
    font-weight: bold;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.terms-box {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.terms-box h3 {
    margin-top: 0;
    color: var(--theme-dark);
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-group:hover {
    border-color: var(--theme-light);
    background: #f8f9fa;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label {
    flex: 1;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.checkbox-label strong {
    color: var(--theme-dark);
    font-size: 16px;
}

.view-terms-link {
    color: var(--theme-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.view-terms-link:hover {
    text-decoration: underline;
}

.all-agree {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--theme-light);
}

.all-agree .checkbox-label strong {
    font-size: 17px;
}

.terms-preview {
    margin-top: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.toggle-terms-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background: var(--theme-light);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.toggle-terms-btn:hover {
    background: var(--theme-dark);
    transform: translateY(-1px);
}

.terms-full-content {
    margin-top: 12px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.terms-scroll-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
}

.terms-scroll-box::-webkit-scrollbar {
    width: 8px;
}

.terms-scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-scroll-box::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.terms-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #555;
}
