/* ملف CSS موحد لمشروع Linktree */

/* استيراد خطوط Google Fonts أولاً */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&family=Tajawal:wght@300;400;500;700&display=swap');

/* تعريف خط Cocon محلي */
@font-face {
   font-family: 'Cocon';
   src: url('cocon.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
   font-display: swap;
}

/* استخدام الخطوط */
body {
   font-family: 'Almarai', 'Tajawal', 'Cocon', 'Segoe UI', Tahoma, sans-serif;
   direction: rtl;
   margin: 0;
   padding: 0;
   background-color: #01796F;
}

/* إعادة تعيين الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* تصميم الصفحة الرئيسية (index.php) */
body {
    background-image: url('images/back.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-color: #01796F;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', 'Almarai', 'Segoe UI', Tahoma;
    direction: rtl;
    min-height: 100vh;
}

/* حاوي الصفحة الرئيسية */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* قسم الملف الشخصي */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 130px !important; 
    height: 130px !important;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 1px solid #006400 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: #fff;
    display: block;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #065709;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* حاوية البايو */
.profile-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #07806f;
    text-align: center;
    display: block;
    max-width: 60%;          /* أقل من عرض الحاوية الرئيسية */
    margin: 5px auto 0 auto; /* مسافة بسيطة فوق البايو، والبايو في الوسط */
    word-break: break-word;   /* كسر الكلمات الطويلة */
    white-space: normal;      /* الالتفاف على عدة أسطر */
    overflow-wrap: break-word;
}

h1 {
    color: #006400;
    font-size: 24px;
}

/* حاوي الروابط */
.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

/* تصميم عناصر الروابط */
.link-item {
    background-color: #fff;
    color: #044955;
    text-align: right;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 60%;
    max-width: 500px;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: right;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.link-item:hover {
    background-color: #c4e587;
    color: #01796F;
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.link-item:hover .link-image {
    transform: scale(1.1);
    border-color: #01796F;
}

/* الأيقونات */
.link-image, .link-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.link-item a {
    color: #01796F;
    text-decoration: none;
}

.link-item a[target="_blank"] {
    color: #01796F;
}

/* محتوى الرابط */
.link-content {
    flex: 1;
    text-align: right;
    position: relative;
    z-index: 1;
}

.link-title {
    font-size: 14px;
    font-weight: 600;
    color: #860707;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-description {
    display: none;
}

/* رابط لوحة الإدارة */
.admin-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
    z-index: 1000;
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

/* حالة فارغة */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 16px;
    line-height: 1.6;
}

/* تصميم لوحة الإدارة (admin.php) */
body.admin-page {
    font-family: 'Tajawal', 'Almarai', 'Segoe UI', Tahoma;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    direction: rtl;
    color: #333;
}

.admin-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 16px;
}

/* شبكة الإحصائيات */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #667eea;
}

.stat-card .number {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-card .label {
    color: #666;
    font-size: 16px;
}

/* شريط الإجراءات */
.actions-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* الأزرار */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 15px;
}

.btn-secondary {
    background: #6c757d;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* جدول الروابط */
.links-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.table tr:hover {
    background: #f8f9fa;
}

.link-preview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-title {
    font-weight: 500;
    color: #05584b;
}

.link-url {
    color: #666;
    font-size: 14px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* شارات الحالة */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

/* التنبيهات */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* تصميم إعدادات التصميم (design_settings.php) */
.design-page .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.design-page .header {
    background: linear-gradient(135deg, #01796F 0%, #006400 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.design-page .header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.design-page .header p {
    opacity: 0.9;
    font-size: 16px;
}

/* التبويبات */
.nav-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.nav-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab.active {
    background: white;
    border-bottom-color: #01796F;
    color: #01796F;
    font-weight: bold;
}

.nav-tab:hover {
    background: #e9ecef;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* عناصر النموذج */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #01796F;
    box-shadow: 0 0 0 3px rgba(1, 121, 111, 0.1);
}

.color-input {
    width: 60px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.range-input {
    width: 100%;
    margin: 10px 0;
}

.range-value {
    display: inline-block;
    background: #01796F;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

/* معاينة التصميم */
.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.preview-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.preview-link {
    background: white;
    padding: 15px 20px;
    border-radius: 25px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.preview-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01796F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* رفع الملفات */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-label:hover {
    border-color: #01796F;
    background: #f0f8f7;
}

/* الشبكة */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* تأثيرات إضافية للتحسين */
.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.link-item:hover::before {
    left: 100%;
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .link-item {
        width: 90%;
        padding: 15px;
    }
    
    .admin-page .container {
        padding: 10px;
    }
    
    .actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 10px 5px;
    }
    
    .link-url {
        max-width: 100px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    
    .link-item {
        font-size: 12px;
        width: 95%;
    }
    
    .link-image, .link-icon {
        width: 35px;
        height: 35px;
    }
}


@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&family=Tajawal:wght@300;400;500;700&display=swap');


body {
    font-family: 'Tajawal', 'Almarai', 'Segoe UI', Tahoma;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    direction: rtl;
    padding: 20px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 16px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-name {
    font-size: 28px;
    margin-bottom: 10px;
}

.profile-bio {
    font-size: 16px;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: right;
    justify-content: right;
    gap: 10px;
    padding: 10px 15px; /* Reduced height */
    margin-bottom: 0; /* Removed extra margin */
    border-radius: 50px; /* Fully rounded corners */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%; /* Wider links */
    max-width: 450px; /* Max width for links */
    margin-left: auto; /* Center links */
    margin-right: auto; /* Center links */
}

.link-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Fully circular icons */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.1);
}

.link-content {
    flex-grow: 1;
    text-align: right;
}

.link-title {
    font-weight: bold;
}

.link-description {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.empty-state {
    text-align: center;
    padding: 50px;
    color: #666;
}

/* Admin Link */
.admin-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.admin-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Form Styles (for admin, add_link, edit_link, profile) */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px dashed #667eea;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #667eea;
    font-weight: 500;
}

.file-input-label:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #5a6fd8;
}

.file-input-label.has-file {
    border-color: #28a745;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.image-preview {
    margin-top: 15px;
    text-align: center;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: white;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.help-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.required {
    color: #dc3545;
}

/* Admin Page Specific Styles */
.admin-page body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
}

.actions-bar {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

table tr:last-child td {
    border-bottom: none;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

.link-table-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.status-toggle {
    display: inline-block;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.status-toggle.active {
    background-color: #28a745;
}

.status-toggle .slider {
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.status-toggle.active .slider {
    transform: translateX(30px);
}

/* Profile Page Specific Styles */
.profile-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.section-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-card h2 {
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}



.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #03533b;
    margin-bottom: 5px;
}

.profile-email {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.profile-bio {
    color: #07806f;
    font-size: 14px;
    line-height: 1.5;
    
}

/* Edit Link Specific Styles */
.current-link-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
}

.current-link-info h3 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-link-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.current-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.current-info {
    flex: 1;
}

.current-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.current-url {
    color: #666;
    font-size: 14px;
    word-break: break-all;
}

.stats-info {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 0;
    }

    .form-container {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .profile-sections {
        grid-template-columns: 1fr;
    }

    .section-card {
        padding: 20px;
    }

    .actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .current-link-preview {
        flex-direction: column;
        text-align: center;
    }

    .stats-info {
        flex-direction: column;
        gap: 15px;
    }

    table th,
    table td {
        padding: 10px;
        font-size: 14px;
    }

    .link-table-image {
        width: 30px;
        height: 30px;
    }

    .status-toggle {
        width: 50px;
        height: 25px;
    }

    .status-toggle .slider {
        width: 21px;
        height: 21px;
    }

    .status-toggle.active .slider {
        transform: translateX(25px);
    }
}



