/* Verticals Index Page Styles */

.modal-md {
    max-width: 600px;
}

.sub-verticals-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header .form-label {
    margin-bottom: 0;
    font-weight: 600;
}

.sub-vertical-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.sub-vertical-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.sub-vertical-row .form-label {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 4px;
}

.sub-vertical-row .form-input {
    font-size: 14px;
}

.btn-remove-sub {
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 8px;
    margin-top: 20px;
    font-size: 16px;
    transition: color 0.2s;
}

.btn-remove-sub:hover {
    color: #EF4444;
}

.btn-edit-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #4F46E5;
    cursor: pointer;
    padding: 8px;
    margin-top: 20px;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-edit-sub:hover {
    color: #4338CA;
}

#noSubVerticalsMsg {
    text-align: center;
    padding: 16px;
    color: #9CA3AF;
    font-style: italic;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Fields button styling */
.btn-fields {
    color: #4F46E5;
}

.btn-fields:hover {
    color: #4338CA;
    background: #EEF2FF;
}

/* Theme Select Wrapper */
.theme-select-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.theme-select-wrapper .form-select {
    flex: 1;
}

.btn-theme-preview {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-theme-preview:hover {
    background: #F3F4F6;
    color: #4F46E5;
    border-color: #4F46E5;
}
