.generator-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}
.form-label {
    font-weight: 600;
    color: #495057;
}
.input-group-text {
    background-color: #f8f9fa;
    font-weight: 500;
}
.btn-generate {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(142, 45, 226, 0.25);
}
.btn-secondary-action {
    background-color: #6c757d;
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 500;
}
.btn-secondary-action:hover {
    background-color: #5a6268;
    color: white;
}
.result-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border-left: 5px solid #8E2DE2;
    max-height: 400px;
    overflow-y: auto;
}
.sequence-display {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    line-height: 1.8;
    padding: 15px;
    background-color: #f5f0fa;
    border-radius: 8px;
    border: 1px solid #e0d4f5;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.sequence-item {
    display: inline-block;
    padding: 4px 8px;
    margin: 3px;
    background-color: #f0e6ff;
    border-radius: 4px;
    border: 1px solid #d9c8ff;
    transition: all 0.2s;
}
.sequence-item:hover {
    background-color: #e6d9ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.format-option {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.format-option:hover {
    border-color: #8E2DE2;
    background-color: #f8f9fa;
}
.format-option.active {
    border-color: #8E2DE2;
    background-color: #f0e6ff;
}
.format-icon {
    font-size: 1.5rem;
    color: #8E2DE2;
    margin-bottom: 8px;
}
.example-item {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 4px solid transparent;
    transition: all 0.2s;
}
.example-item:hover {
    background-color: #e9ecef;
    border-left-color: #8E2DE2;
}
.example-title {
    font-weight: 600;
    color: #495057;
}
.example-desc {
    font-size: 0.9rem;
    color: #6c757d;
}
.alert-custom {
    border-radius: 10px;
    border-left: 5px solid #8E2DE2;
}
.info-box {
    background-color: #f0f5ff;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #4A00E0;
    margin-bottom: 20px;
}
.item-index {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}
.stats-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #dee2e6;
}
.stats-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #dee2e6;
}
.stats-item:last-child {
    border-bottom: none;
}
.warning-badge {
    background-color: #ffc107;
    color: #212529;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}
.toggle-switch {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.toggle-label {
    margin-left: 10px;
    font-weight: 500;
    color: #495057;
}
.toggle-switch input[type="checkbox"] {
    display: none;
}
.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
    cursor: pointer;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}
input:checked + .toggle-slider {
    background-color: #8E2DE2;
}
input:checked + .toggle-slider:before {
    transform: translateX(24px);
}
