
    /* ========== Custom Button Colors ========== */
    :root {
        --btn-add-link: #502a31;
        --btn-add-link-hover: #3d1f24;
        --btn-save-primary: #28252a;
        --btn-save-primary-hover: #1a1719;
        --btn-update-info: #1a1719;
        --btn-update-info-hover: #1a1719;
        --btn-add-item: #502a31;
        --btn-add-item-hover: #1a1719;
        --btn-save-menu: #1a1719;
        --btn-save-menu-hover: #1a1719;
        --btn-reset: #502a31;
        --btn-reset-hover: #bb2d3b;
    }

    .btn-add-link {
        background: var(--btn-add-link);
        color: white;
        padding: 10px 24px;
        font-size: 0.9rem;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
    }

    .btn-add-link:hover {
        background: var(--btn-add-link-hover);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-save-primary {
        background: var(--btn-save-primary);
        color: white;
        padding: 10px 24px;
        font-size: 0.9rem;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
    }

    .btn-save-primary:hover {
        background: var(--btn-save-primary-hover);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-update-info {
        background: var(--btn-update-info);
        color: white;
        padding: 10px 16px;
        font-size: 0.85rem;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
    }

    .btn-update-info:hover {
        background: var(--btn-update-info-hover);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    }

    .btn-add-item {
        background: var(--btn-add-item);
        color: white;
        padding: 8px 16px;
        font-size: 0.8rem;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
    }

    .btn-add-item:hover {
        background: var(--btn-add-item-hover);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    }

    .btn-save-menu {
        background: var(--btn-save-menu);
        color: white;
        padding: 10px 28px;
        font-size: 0.9rem;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
    }

    .btn-save-menu:hover {
        background: var(--btn-save-menu-hover);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-reset {
        padding: 6px 16px;
        font-size: 0.85rem;
        transition: all 0.3s;
    }

    .btn-reset:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(220, 53, 69, 0.25);
    }

    /* ========== Drag Handle Icons ========== */
    .drag-handle-icon {
        cursor: move;
        font-size: 1.1rem;
        opacity: 0.5;
        transition: all 0.2s;
    }

    .drag-handle-icon:hover {
        opacity: 1;
        color: #0d6efd !important;
        transform: scale(1.15);
    }

    .drag-handle-item {
        cursor: move;
        font-size: 0.9rem;
        opacity: 0.5;
        transition: all 0.2s;
    }

    .drag-handle-item:hover {
        opacity: 1;
        color: #0d6efd !important;
        transform: scale(1.2);
    }

    /* ========== Card & Body Styling ========== */
    .card-body {
        padding: 1rem !important;
    }

    /* ========== Social Links ========== */
    .links-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .link-row {
        display: flex;
        align-items: center;
        gap: 12px;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        padding: 12px;
        transition: 0.3s;
    }

    .link-row:hover {
        border-color: #0d6efd;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .row-num {
        font-size: 11px;
        font-weight: 600;
        color: #6c757d;
        min-width: 30px;
    }

    .icon-selector {
        position: relative;
    }

    .selected-icon {
        width: 40px;
        height: 36px;
        background: white;
        border: 1px solid #ced4da;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
        font-size: 17px;
    }

    .selected-icon:hover {
        border-color: #0d6efd;
        background: #f8f9fa;
    }

    .icon-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 4px;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 8px;
        display: none;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        z-index: 1000;
        min-width: 220px;
    }

    .icon-dropdown.show {
        display: grid;
    }

    .icon-option {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.2s;
        font-size: 17px;
    }

    .icon-option:hover {
        background: #e9ecef;
        color: #0d6efd;
    }

    .input-box {
        padding: 8px 12px;
        border: 1px solid #ced4da;
        border-radius: 5px;
        font-size: 0.85rem;
        background: white;
        transition: 0.2s;
    }

    .input-box:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
    }

    .link-row input[type="text"] {
        flex: 1;
        min-width: 120px;
    }

    .input-url {
        flex: 2;
        min-width: 200px;
    }

    .remove-btn {
        background: none;
        border: none;
        color: #dc3545;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: 0.2s;
        min-width: 36px;
        font-size: 0.9rem;
    }

    .remove-btn:hover {
        background: #f8d7da;
    }

    .button-area {
        display: flex;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid #dee2e6;
        margin-top: 8px;
    }

    .link-row.new {
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-15px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* ========== Sortable States ========== */
    .sortable-ghost {
        opacity: 0.4;
        background: #e3f2fd;
        border: 2px dashed #2196f3;
    }

    .sortable-chosen {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    /* ========== Item Row ========== */
    .item-row {
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        transition: all 0.2s;
        border: 1px solid transparent;
    }

    .item-row:hover {
        background: #e9ecef;
        border-color: #dee2e6;
    }

    .form-check-input:checked {
        background-color: #28a745;
        border-color: #28a745;
    }

    /* ========== Dropdown ========== */
    .dropdown-toggle-icon {
        width: 28px;
        height: 28px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #dee2e6;
        background: white;
        color: #6c757d;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .dropdown-toggle-icon:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
    }

    .dropdown-menu {
        padding: 6px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        font-size: 0.85rem;
    }

    /*  Wider Dropdown for URL Field */
    .dropdown-wide {
        min-width: 280px !important;
    }

    .dropdown-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* ========== Form Controls ========== */
    .country-code-select {
        font-size: 0.8rem;
        padding: 8px;
        max-width: 100px;
    }

    .country-code-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
    }

    .item-row textarea.form-control {
        resize: vertical;
        min-height: 60px;
        font-size: 0.85rem;
        padding: 10px;
    }

    .item-row textarea.form-control:focus,
    .item-row input.form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
    }

    .item-row .form-control,
    .item-row .item-label-input {
        font-size: 0.85rem !important;
        padding: 10px 12px !important;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        background-color: #fff;
        width: 100%;
    }

    .item-row .form-control:focus,
    .item-row .item-label-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
        outline: 0;
    }

    /*  URL Input Styling in Dropdown */
    .item-url-input {
        width: 100%;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        background-color: #fff;
        font-size: 0.8rem !important;
        padding: 8px 10px !important;
    }

    .item-url-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
        outline: 0;
    }

    .item-row .d-flex.gap-2 {
        gap: 0.5rem !important;
    }

    .item-row .flex-grow-1 {
        flex: 1;
        min-width: 0;
    }

    /* ========== Placeholder Styling ========== */
    input::placeholder,
    textarea::placeholder {
        font-size: 0.8rem;
        color: #adb5bd;
        opacity: 0.8;
    }

    /* ========== Spacing Improvements ========== */
    .mt-4 {
        margin-top: 1.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }

    .pb-3 {
        padding-bottom: 1rem !important;
    }

