       /* ===== БАЗОВІ СТИЛІ ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            display: flex;
        }
       /* Базовые стили для контейнеров полей */
.social-field {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Стили для заголовка социальной сети */
.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Стили для названия социальной сети */
.social-name {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

.social-name i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Стили для поля ввода как у Email */
.social-input {
    margin-top: 10px !important;
    width: 100%;
}

.social-input input,
.social-input textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.social-input input:focus,
.social-input textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.social-input input:hover,
.social-input textarea:hover {
    border-color: #b0b0b0;
}

.social-input input::placeholder,
.social-input textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Стили для текстового поля (как в Google Maps) */
.social-input textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Скрытые поля */
.social-input.hidden {
    display: none;
}

/* Дополнительные стили для контейнера формы */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 14px;
}

/* Стили для toggle контейнера (как в Email) */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.toggle-label {
    font-size: 14px;
    color: #7f8c8d;
}

/* Стили для переключателя (switch) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2ecc71;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2ecc71;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Стили для информационного блока */
.skip-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    color: #7f8c8d;
    font-size: 14px;
}

.skip-info i {
    margin-right: 8px;
    color: #3498db;
}
        .menu {
            padding: 15px 0;
            flex: 1;
            overflow-y: auto;
            min-height: 0;
            
            &::-webkit-scrollbar {
                width: 6px;
            }
            
            &::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.05);
                border-radius: 10px;
            }
            
            &::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.2);
                border-radius: 10px;
                transition: background 0.3s;
            }
            
            &::-webkit-scrollbar-thumb:hover {
                background: rgba(255, 255, 255, 0.3);
            }
        }
        
        .sidebar {
            width: 200px;
            background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
            color: white;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
        }

        .logo {
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #34495e;
        }

        .logo h2 {
            color: white;
            font-size: 18px;
            margin-bottom: 5px;
        }

        .tariff-badge {
            margin-top: 8px;
            padding: 6px 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s;
        }

        .tariff-trial {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            border: 1px solid rgba(52, 152, 219, 0.3);
        }

        .tariff-active {
            background: rgba(46, 204, 113, 0.2);
            color: #27ae60;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .tariff-warning {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.3);
            animation: pulse 2s infinite;
        }

        .tariff-expired {
            background: rgba(231, 76, 60, 0.3);
            color: #c0392b;
            border: 1px solid #e74c3c;
            font-weight: 600;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        .tariff-loading {
            color: #95a5a6;
            font-size: 10px;
        }

        .menu {
            padding: 15px 0;
            flex: 1;
            overflow-y: auto;
            min-height: 0;
        }

        .menu-button {
            display: block;
            padding: 8px 20px;
            color: #ecf0f1;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 13px;
            border-left: 3px solid transparent;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }

        .menu-button:hover {
            background: #34495e;
            border-left-color: #3498db;
        }

        .menu-button.active {
            background: #34495e;
            border-left-color: #3498db;
            font-weight: 500;
        }

        .menu i {
            margin-right: 8px;
            width: 18px;
            text-align: center;
        }
        
        .menu-button1 {
            display: none;
            padding: 8px 20px;
            color: #00ca76;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 13px;
            border-left: 3px solid transparent;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }

        .menu-button1:hover {
            background: #34495e;
            border-left-color: #3498db;
        }
        
        .menu-button1.active {
            background: #34495e;
            border-left-color: #3498db;
            font-weight: 500;
        }
        
        .news-section {
            padding: 15px;
            border-top: 1px solid #34495e;
            background: rgba(0, 0, 0, 0.2);
            flex-shrink: 0;
            margin-top: auto;
        }

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

        .news-header h3 {
            color: #ecf0f1;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .news-header .all-news-btn {
            background: none;
            border: none;
            color: #3498db;
            font-size: 11px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .news-header .all-news-btn:hover {
            background: rgba(52, 152, 219, 0.2);
        }

        .latest-news {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 12px;
            font-size: 12px;
            color: #bdc3c7;
            line-height: 1.5;
            max-height: 80px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .latest-news.expanded {
            max-height: 200px;
            overflow-y: auto;
            background: rgba(255, 255, 255, 0.1);
        }

        .latest-news:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .latest-news .news-content {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .latest-news.expanded .news-content {
            display: block;
            -webkit-line-clamp: unset;
        }

        .support-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 10px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            width: 100%;
            cursor: pointer;
            margin-top: 8px;
        }

        .support-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
        }

        .support-btn i {
            font-size: 14px;
        }

        .news-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            z-index: 1001;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .news-modal h2 {
            color: #2c3e50;
            font-size: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-right: 30px;
        }

        .news-modal .close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            cursor: pointer;
            color: #7f8c8d;
            transition: color 0.3s;
        }

        .news-modal .close:hover {
            color: #2c3e50;
        }

        .news-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .news-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            border-left: 3px solid #3498db;
        }

        .news-item .news-date {
            font-size: 11px;
            color: #7f8c8d;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .news-item .news-date i {
            color: #3498db;
            font-size: 10px;
        }

        .news-item .news-text {
            color: #2c3e50;
            font-size: 13px;
            line-height: 1.5;
            white-space: pre-wrap;
        }

        .content {
            flex: 1;
            margin-left: 200px;
            padding: 20px;
            background-color: #f5f5f5;
            min-height: 100vh;
        }

        .btn-info {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-info:hover {
            background: #2980b9;
        }

        h1 {
            color: #2c3e50;
            font-size: 24px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        h1 i {
            color: #3498db;
        }

        .blocked-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        .blocked-overlay.active {
            display: flex;
        }

        .blocked-modal {
            background: white;
            padding: 40px;
            border-radius: 12px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .blocked-modal i {
            font-size: 60px;
            color: #e74c3c;
            margin-bottom: 20px;
        }

        .blocked-modal h2 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 24px;
        }

        .blocked-modal p {
            color: #7f8c8d;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .blocked-modal button {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s;
        }

        .blocked-modal button:hover {
            background: #2980b9;
        }

        .page-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            margin-bottom: 25px;
        }

        .page-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e9ecef;
        }

        .page-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3498db, #2ecc71);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
            position: relative;
            overflow: hidden;
        }

        .page-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .page-avatar-upload {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.5);
            color: white;
            font-size: 12px;
            padding: 4px;
            text-align: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .page-avatar:hover .page-avatar-upload {
            opacity: 1;
        }

        .page-title {
            flex: 1;
        }

        .page-title h2 {
            color: #2c3e50;
            font-size: 22px;
            margin-bottom: 5px;
        }

        .page-title p {
            color: #7f8c8d;
            font-size: 14px;
        }

        .page-link-box {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .page-link {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            color: #2c3e50;
            flex-wrap: wrap;
        }

        .page-link i {
            color: #3498db;
            font-size: 20px;
        }

        .page-link a {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
            word-break: break-all;
        }

        .page-link a:hover {
            text-decoration: underline;
        }

        .page-link-date {
            color: #7f8c8d;
            font-size: 14px;
        }

        .copy-link-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .copy-link-btn:hover {
            background: #2980b9;
        }

        .warning-message {
            background: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .warning-message i {
            font-size: 24px;
            color: #f39c12;
        }

        .warning-message .warning-text {
            flex: 1;
        }

        .warning-message .warning-text strong {
            display: block;
            margin-bottom: 5px;
            font-size: 16px;
        }

        .warning-message .warning-text p {
            margin: 0;
            font-size: 14px;
        }

        .btn-warning {
            background: #f39c12;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: background 0.3s;
        }

        .btn-warning:hover {
            background: #e67e22;
        }

        .btn-secondary {
            background: #95a5a6;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: background 0.3s;
        }

        .btn-secondary:hover {
            background: #7f8c8d;
        }

        .btn-danger {
            background: #e74c3c;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-danger:hover {
            background: #c0392b;
        }

        .empty-state {
            background: white;
            border-radius: 16px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .empty-state i {
            font-size: 80px;
            color: #bdc3c7;
            margin-bottom: 20px;
        }

        .empty-state h3 {
            color: #2c3e50;
            font-size: 24px;
            margin-bottom: 15px;
        }

        .empty-state p {
            color: #7f8c8d;
            font-size: 16px;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .features-list {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .feature-item {
            text-align: center;
            width: 150px;
        }

        .feature-item i {
            font-size: 36px;
            color: #3498db;
            margin-bottom: 10px;
        }

        .feature-item span {
            display: block;
            color: #2c3e50;
            font-size: 14px;
            font-weight: 500;
        }

        .btn-primary {
            background: #3498db;
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .btn-save {
            background: #27ae60;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-save:hover {
            background: #2ecc71;
        }

        .btn-next {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-next:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        .btn-prev {
            background: #95a5a6;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-prev:hover {
            background: #7f8c8d;
        }

        .edit-form {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .form-section {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e9ecef;
        }

        .form-section h3 {
            color: #2c3e50;
            font-size: 18px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-section h3 i {
            color: #3498db;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: #2c3e50;
            font-weight: 500;
            font-size: 13px;
        }

        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
        }

        .form-group input.error {
            border-color: #e74c3c;
        }

        .error-message {
            color: #e74c3c;
            font-size: 12px;
            margin-top: 5px;
            display: block;
        }

        .phone-group {
            display: flex;
            gap: 10px;
        }

        .phone-group select {
            width: 80px;
            flex-shrink: 0;
        }

        .phone-group input {
            flex: 1;
        }

        .color-input-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .color-input-group input[type="color"] {
            width: 50px;
            height: 40px;
            padding: 2px;
            border: 2px solid #e9ecef;
            border-radius: 6px;
            cursor: pointer;
        }

        .form-row {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .form-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }

        .stepper-container {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            max-width: 800px;
            margin: 0 auto;
        }

        .stepper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
            position: relative;
            padding: 0 20px;
        }

        .stepper::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 40px;
            right: 40px;
            height: 2px;
            background: #e9ecef;
            z-index: 1;
        }

        .step {
            background: white;
            border: 2px solid #e9ecef;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #7f8c8d;
            position: relative;
            z-index: 2;
            transition: all 0.3s;
        }

        .step.active {
            border-color: #3498db;
            background: #3498db;
            color: white;
        }

        .step.completed {
            border-color: #27ae60;
            background: #27ae60;
            color: white;
        }

        .step-label {
            position: absolute;
            top: 45px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            color: #7f8c8d;
            white-space: nowrap;
        }

        .step-content {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .step-content.active {
            display: block;
        }

        .step-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }

        .required-badge {
            color: #e74c3c;
            margin-left: 5px;
            font-size: 12px;
        }

        .skip-info {
            color: #7f8c8d;
            font-size: 13px;
            margin-top: 10px;
            font-style: italic;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            z-index: 1000;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            font-size: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .modal .close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #7f8c8d;
        }

        .modal .close:hover {
            color: #2c3e50;
        }

        .modal-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(4px);
            z-index: 999;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 52px;
            height: 26px;
            margin-right: 10px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .3s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: #27ae60;
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        .toggle-container {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .toggle-label {
            font-weight: 500;
            color: #2c3e50;
        }

        .social-field {
            margin-bottom: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .social-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .social-name {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            color: #2c3e50;
        }
        
        .social-input {
            margin-top: 8px;
        }
        
        .social-input.hidden {
            display: none;
        }

        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
                position: relative;
                width: 100%;
                height: 100%;
            }

            .content {
                margin-left: 0;
                padding: 15px;
                padding-top: 10px;
                width: 100%;
                transition: transform 0.3s ease;
                min-height: 100vh;
                background-color: #f5f5f5;
            }

            h1 {
                font-size: 20px;
                margin-top: 5px;
                margin-bottom: 20px;
                padding-left: 0;
                justify-content: center;
                text-align: center;
            }

            body.menu-open::after {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
                animation: fadeIn 0.3s ease;
            }

            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                z-index: 1000;
                width: 280px;
                box-shadow: 2px 0 20px rgba(0,0,0,0.2);
                overflow-y: hidden;
                display: flex;
                flex-direction: column;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            body.menu-open {
                overflow: hidden;
                position: fixed;
                width: 100%;
                height: 100%;
            }

            body.menu-open .content {
                pointer-events: none;
                opacity: 0.7;
                transition: opacity 0.3s ease;
            }

            .swipe-area {
                position: fixed;
                top: 0;
                left: 0;
                width: 30px;
                height: 100%;
                z-index: 998;
                background: transparent;
            }

            .menu-toggle {
                display: block;
                position: fixed;
                top: 10px;
                left: 15px;
                z-index: 1001;
                background: #3498db;
                color: white;
                border: none;
                border-radius: 5%;
                width: 44px;
                height: 44px;
                font-size: 22px;
                cursor: pointer;
                box-shadow: 0 4px 10px rgba(0,0,0,0.2);
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .menu-toggle:hover {
                background: #2ecc71;
                transform: scale(1.05);
            }
            
            .menu-button1 {
                display: block;
                font-weight: 600;
            }
            
            .sidebar.open ~ .menu-toggle,
            .sidebar.open + .menu-toggle {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                z-index: 1;
            }

            .page-card {
                padding: 15px;
            }

            .page-header {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .page-header > div:last-child {
                flex-wrap: wrap;
                justify-content: center;
            }

            .page-title h2 {
                font-size: 18px;
            }

            .page-link-box {
                flex-direction: column;
                align-items: flex-start;
                padding: 12px;
            }

            .page-link {
                font-size: 14px;
                word-break: break-all;
            }

            .page-link a {
                font-size: 13px;
            }

            .page-link-date {
                font-size: 12px;
            }

            .portfolio-grid {
                grid-template-columns: 1fr !important;
                gap: 15px !important;
            }

            .portfolio-item {
                max-width: 100%;
            }

            .portfolio-add {
                height: 200px !important;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .phone-group {
                flex-direction: column;
            }

            .phone-group select {
                width: 100%;
            }

            .form-actions {
                flex-direction: column;
            }

            .form-actions button {
                width: 100%;
            }

            .stepper {
                padding: 0 5px;
                margin-bottom: 50px;
            }

            .stepper::before {
                left: 25px;
                right: 25px;
            }

            .step-label {
                font-size: 9px;
                white-space: normal;
                width: 50px;
                text-align: center;
                line-height: 1.2;
            }

            .step {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }

            .stepper-container {
                padding: 20px 15px;
            }

            .modal {
                width: 95%;
                padding: 20px;
                max-height: 90vh;
            }

            .blocked-modal {
                padding: 25px 20px;
            }

            .blocked-modal i {
                font-size: 50px;
            }

            .blocked-modal h2 {
                font-size: 20px;
            }

            .btn-primary, .btn-next, .btn-prev {
                padding: 12px 20px;
                font-size: 14px;
            }

            .btn-info, .btn-save, .btn-danger {
                padding: 8px 15px;
                font-size: 13px;
            }

            .empty-state {
                padding: 30px 20px;
            }

            .empty-state i {
                font-size: 60px;
            }

            .empty-state h3 {
                font-size: 20px;
            }

            .features-list {
                gap: 15px;
            }

            .feature-item {
                width: 130px;
            }

            .feature-item i {
                font-size: 30px;
            }

            .warning-message {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .warning-message i {
                font-size: 30px;
            }

            .page-avatar {
                width: 100px;
                height: 100px;
                font-size: 40px;
            }

            .copy-link-btn {
                width: 100%;
                justify-content: center;
            }

            @media (max-width: 380px) {
                .features-list {
                    flex-direction: column;
                    align-items: center;
                }

                .feature-item {
                    width: 100%;
                }

                .page-header > div:last-child {
                    flex-direction: column;
                    width: 100%;
                }

                .page-header > div:last-child button {
                    width: 100%;
                }

                .stepper .step-label {
                    font-size: 8px;
                    width: 40px;
                }

                .step {
                    width: 25px;
                    height: 25px;
                    font-size: 11px;
                }

                .stepper::before {
                    left: 20px;
                    right: 20px;
                }
            }
        }

        @media (min-width: 769px) {
            .menu-toggle {
                display: none;
            }
        }

        .swipe-area {
            position: fixed;
            top: 0;
            left: 0;
            width: 20px;
            height: 100%;
            z-index: 998;
            background: transparent;
        }

        .portfolio-section {
            margin-top: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
        }

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

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .portfolio-grid.collapsed {
            display: none;
        }

        .portfolio-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            background: white;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .portfolio-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .portfolio-add {
            border: 2px dashed #bdc3c7;
            border-radius: 12px;
            height: 250px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #7f8c8d;
            transition: all 0.3s;
            background: white;
        }

        .portfolio-add:hover {
            background: #f0f7ff;
            border-color: #3498db !important;
            color: #3498db !important;
        }

        .portfolio-add i {
            font-size: 36px;
            margin-bottom: 10px;
            color: #3498db;
        }

        .portfolio-add span {
            font-size: 14px;
            font-weight: 500;
        }

        .portfolio-add small {
            font-size: 12px;
            margin-top: 5px;
        }

        .portfolio-actions {
            position: absolute;
            top: 5px;
            right: 5px;
            display: flex;
            gap: 5px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .portfolio-item:hover .portfolio-actions {
            opacity: 1;
        }

        .portfolio-actions button {
            background: rgba(52, 152, 219, 0.9);
            color: white;
            border: none;
            border-radius: 4px;
            width: 28px;
            height: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .portfolio-actions button.delete {
            background: rgba(231, 76, 60, 0.9);
        }

        .portfolio-actions button:hover {
            background: rgba(52, 152, 219, 1);
        }

        .portfolio-actions button.delete:hover {
            background: rgba(231, 76, 60, 1);
        }

        .btn-view {
            background: #3498db;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: background 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-view:hover {
            background: #2980b9;
        }

        .page-avatar:hover .page-avatar-upload {
            opacity: 1 !important;
        }