        :root {
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            background: var(--light-bg);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .section {
            padding: 5rem 0;
        }

        /* Container wrapper to push footer down */
        .page-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .container-fluid {
            overflow-x: hidden;
            flex: 1;
            position: relative;
            z-index: 15;
        }

        /* Navbar stilleri common_header.php'den geliyor */

        .main-container {
            margin-top: 2rem;
            padding-top: 2rem;
            position: relative;
            z-index: 20;
        }

        .sidebar {
            position: sticky;
            top: 2rem;
            z-index: 25;
        }

        /* Custom scrollbar */
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: var(--light-gray);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }

        .sidebar-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 1.2rem;
            border-radius: 20px 20px 0 0;
            position: relative;
            z-index: 10;
        }

        .sidebar-header h4 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .sidebar-menu {
            background: white;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            padding: 0.5rem;
            position: relative;
            z-index: 9;
            margin-bottom: 2rem;
        }

        .sidebar-menu-item {
            margin-bottom: 0.3rem;
        }

        .sidebar-menu-item:last-child {
            margin-bottom: 0;
        }

        .sidebar-menu-item a {
            display: flex;
            align-items: center;
            padding: 1rem;
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .sidebar-menu-item a:hover {
            background: var(--light-gray);
            color: var(--primary-color);
            transform: translateX(5px);
        }

        .sidebar-menu-item i {
            width: 25px;
            margin-right: 0.8rem;
            font-size: 1.1rem;
            color: var(--secondary-color);
        }

        .baskan-widget {
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            padding: 2rem 1.5rem;
            margin-bottom: 2rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            z-index: 8;
        }

        .baskan-widget:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        }

        .baskan-foto {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            object-fit: cover;
            border: 4px solid var(--primary-color);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        .baskan-ad {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.3rem;
        }

        .baskan-pozisyon {
            color: var(--dark-gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .baskan-mesaj {
            font-style: italic;
            color: var(--text-dark);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .sidebar-widget {
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            z-index: 7;
        }

        .sidebar-widget:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .widget-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 1.2rem;
            position: relative;
            z-index: inherit;
        }

        .widget-header h5 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .widget-content {
            padding: 1.5rem;
            position: relative;
            z-index: inherit;
            background: white;
        }

        .widget-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
            transition: all 0.3s ease;
        }

        .widget-item:last-child {
            border-bottom: none;
        }

        .widget-item:hover {
            background: var(--light-gray);
            margin: 0 -1.5rem;
            padding: 1rem 1.5rem;
            border-radius: 8px;
        }

        .widget-item-title {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
            font-size: 0.95rem;
        }

        .widget-item-meta {
            font-size: 0.85rem;
            color: var(--dark-gray);
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .widget-item-meta span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .widget-item-meta i {
            color: var(--secondary-color);
        }

        .form-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 2rem;
            position: relative;
            z-index: 21;
        }

        .form-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
            position: relative;
        }

        .form-header::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid var(--secondary-color);
        }

        .form-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .form-header p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin: 0;
        }

        .form-body {
            padding: 3rem 2rem;
        }

        .section-divider {
            margin: 3rem 0 2rem;
            position: relative;
        }

        .section-title {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 1.5rem;
            font-weight: 700;
            padding: 1rem 0;
            border-bottom: 3px solid var(--light-gray);
            margin-bottom: 2rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        }

        .form-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .required {
            color: var(--accent-color);
            font-weight: bold;
        }

        .form-control, .form-select {
            border: 2px solid var(--medium-gray);
            border-radius: 12px;
            padding: 0.8rem 1rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: white;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
            background: white;
        }

        .form-control:hover, .form-select:hover {
            border-color: var(--secondary-color);
        }

        .btn {
            border-radius: 12px;
            padding: 0.8rem 2rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            color: white;
            box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
        }

        .btn-secondary {
            background: var(--medium-gray);
            border: none;
            color: var(--text-dark);
        }

        .btn-secondary:hover {
            background: var(--dark-gray);
            color: white;
            transform: translateY(-2px);
        }

        .btn-outline-primary {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
        }

        .btn-outline-primary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
        }

        .alert {
            border: none;
            border-radius: 15px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        }

        .alert-danger {
            background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
            color: #c53030;
            border-left: 5px solid var(--accent-color);
        }

        .alert-success {
            background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
            color: #2f855a;
            border-left: 5px solid var(--success-color);
        }

        .form-actions {
            background: var(--light-gray);
            padding: 2rem;
            margin: 2rem -2rem -3rem;
            border-radius: 0 0 20px 20px;
            text-align: center;
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .main-container {
                margin-top: 1rem;
                padding-top: 1rem;
                z-index: 15;
            }

            .sidebar {
                position: static !important;
                top: auto !important;
                max-height: none !important;
                overflow: visible !important;
                padding-right: 0 !important;
                margin-bottom: 2rem;
                z-index: 16;
            }

            .form-container {
                z-index: 17;
            }

            .sidebar-widget {
                margin-bottom: 1.5rem;
                transform: none !important;
                position: static;
                z-index: auto;
            }

            .sidebar-widget:hover {
                transform: none !important;
                box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            }

            .baskan-widget {
                padding: 1.5rem 1rem;
                margin-bottom: 1.5rem;
                transform: none !important;
                position: static;
                z-index: auto;
            }

            .baskan-widget:hover {
                transform: none !important;
                box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            }

            .baskan-foto {
                width: 100px;
                height: 100px;
            }

            .widget-content {
                padding: 1rem;
            }

            .widget-item:hover {
                margin: 0 -1rem;
                padding: 1rem;
            }

            .form-header {
                padding: 2rem 1rem;
            }

            .form-header h1 {
                font-size: 2rem;
            }

            .form-body {
                padding: 2rem 1rem;
            }

            .section-title {
                font-size: 1.3rem;
            }

            .form-actions {
                margin: 2rem -1rem -2rem;
                padding: 1.5rem 1rem;
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }

            /* 4-column responsive: stack on mobile */
            .col-md-3 {
                width: 100%;
                margin-bottom: 1rem;
            }

            /* Sidebar menu için özel mobil stilleri */
            .sidebar-header {
                position: static;
                z-index: auto;
            }

            .sidebar-menu {
                position: static;
                z-index: auto;
                margin-bottom: 1.5rem;
            }

            .page-wrapper {
                min-height: auto;
            }
        }

        @media (max-width: 992px) and (min-width: 769px) {
            /* 4-column becomes 2-column on tablets */
            .col-md-3 {
                width: 50%;
            }
        }

        @media (min-width: 1200px) {
            /* Better spacing for large screens with 4 columns */
            .form-control, .form-select {
                padding: 0.9rem 1.1rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
        }

        /* Animações suaves */
        * {
            transition: all 0.3s ease;
        }

        /* Loading animation */
        .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .btn:disabled::after {
            content: '';
            width: 16px;
            height: 16px;
            margin-left: 0.5rem;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: inline-block;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Better container spacing */
        .container-fluid {
            overflow-x: hidden;
        }

        /* Widget spacing improvements */
        .sidebar > * {
            margin-bottom: 2rem;
            clear: both;
        }

        .sidebar > *:last-child {
            margin-bottom: 0;
        }

        /* Prevent widget overlap */
        .sidebar-widget,
        .baskan-widget {
            isolation: isolate;
            will-change: transform;
        }

        /* Improved hover effects without overlap */
        .sidebar-widget:hover,
        .baskan-widget:hover {
            z-index: 15;
        }

        /* Modern checkbox and radio styles */
        .form-check-input {
            border-radius: 6px;
            border: 2px solid var(--medium-gray);
            transition: all 0.3s ease;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .form-check-input:focus {
            box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
        }

        /* File input styling */
        .form-control[type="file"] {
            padding: 0.6rem;
        }

        .form-control[type="file"]::-webkit-file-upload-button {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            margin-right: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .form-control[type="file"]::-webkit-file-upload-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
        }

        /* Sidebar Styles (icerik_detay.php'den) */
        .sidebar-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .sidebar-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }

        .sidebar-card h4 {
            font-size: 1.35rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border-color);
            color: var(--text-dark);
        }

        .sidebar-card h4 i {
            color: var(--primary-color);
        }

        .sidebar-event-item {
            padding: 1rem;
            background: var(--light-bg);
            border-radius: 8px;
            border-left: 3px solid var(--primary-color);
            transition: all 0.3s ease;
            margin-bottom: 1rem;
        }

        .sidebar-event-item:last-child {
            margin-bottom: 0;
        }

        .sidebar-event-item:hover {
            background: #e9ecef;
            transform: translateX(5px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .sidebar-event-item h6 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-dark);
            line-height: 1.4;
            margin-bottom: 0.5rem;
        }

        .sidebar-event-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .sidebar-event-meta i {
            color: var(--primary-color);
        }

        .sidebar-content-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .sidebar-content-item {
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .sidebar-content-item:last-child {
            border-bottom: none;
        }

        .sidebar-content-item h6 {
            font-size: 0.9rem;
            font-weight: 500;
            line-height: 1.5;
            margin-bottom: 0;
            color: var(--text-dark);
        }

        .sidebar-empty-message {
            padding: 1rem;
            text-align: center;
            background: var(--light-bg);
            border-radius: 8px;
            margin: 0;
        }

        /* Desktop sidebar behavior */
        @media (min-width: 769px) {
            .sidebar {
                max-height: calc(100vh - 4rem);
                overflow-y: auto;
                overflow-x: hidden;
                padding-right: 0.5rem;
            }
        }