
 :root {
            --primary: #6b46c1;
            --primary-light: #8a6be0;
            --secondary: #805ad5;
            --success: #48bb78;
            --danger: #e53e3e;
            --warning: #ed8936;
            --white: #f4f4f4;
            --light: #f7fafc;
            --dark: #2d3748;
            --gray: #718096;
            --light-gray: #e2e8f0;
        }
         ::-webkit-scrollbar {
            display: none;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-image: radial-gradient(circle at 10px 10px, #999 1px, transparent 0);
            background-size: 20px 20px;
            color: var(--text-primary);
            background-color: #f9f9f9;
            min-height: 100vh;
            overflow-x: hidden;
            zoom: 0.9;
        }
        
        @media (min-width: 1000px){
            .pc {
                margin-left: 20%;
            }

            .stats-grid {
               grid-template-columns: repeat(2, 1fr);
            }

        }
        .container {
            padding: 20px;
            max-width: 1500px;
            margin: 0 auto;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .title {
            background: #f9f9f9;
        }
        
        .title h1 {
            font-size: 28px;
            color: var(--dark);
            font-weight: 700;
        }
        
        .title p {
            font-size: 14px;
            color: var(--gray);
            margin-top: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--white);
            color: var(--primary);
            text-decoration: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            border: 1px solid var(--primary);
        }
        
        .social-links a:hover {
            transform: translateY(-3px);
            background-color: var(--primary);
            color: var(--white);
            box-shadow: 0 2px 5px rgba(107, 70, 193, 0.3);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background-color: var(--white);
            border-radius: 12px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 1000px) {
            .stats-grid {
               grid-template-columns: repeat(1, 1fr);
            }
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background-color: var(--primary);
        }
        
        .stat-card.revenue::before {
            background-color: var(--success);
        }
        
        .stat-card.users::before {
            background-color: var(--primary);
        }
        
        .stat-card.active::before {
            background-color: var(--secondary);
        }
        
        .stat-card.payments::before {
            background-color: var(--warning);
        }

        
        
        .stat-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 120px;
            padding: 10px;
            border-radius: 50%;
            opacity: 0.2;
            color: var(--primary);
        }
        
        .stat-card.revenue .stat-icon {
            color: var(--success);
        }
        
        .stat-card.users .stat-icon {
            color: var(--primary);
        }
        
        .stat-card.active .stat-icon {
            color: var(--secondary);
        }
        
        .stat-card.payments .stat-icon {
            color: var(--warning);
        }
        
        .stat-title {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 10px;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
        }
        
        .stat-card.revenue .stat-value {
            font-size: 28px;
            font-weight: 800;
        }
        
        .stat-change {
            display: flex;
            align-items: center;
            font-size: 14px;
        }
        
        .positive {
            color: var(--success);
        }
        
        .negative {
            color: var(--danger);
        }
        
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
            width: 100%;
        }
        
       
        .chart-card {
            background-color: #f9f9f9;
            padding: 25px;
        }
        
        .chart-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .chart-card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .chart-filters {
            display: flex;
            gap: 10px;
        }
        
        .chart-filter {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            background-color: var(--light);
            color: var(--gray);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .chart-filter.active {
            background-color: var(--primary);
            color: var(--white);
        }
        
        .chart-filter:hover {
            background-color: var(--light-gray);
        }
        
        .chart-filter.active:hover {
            background-color: var(--primary-light);
        }
        
        .company-card {
            background-color: var(--white);
            padding: 25px;
        }
        
        .company-logo {
            width: 80px;
            height: 80px;
            background-color: #111;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--white);
            font-weight: 700;
            font-size: 24px;
        }
        
        .company-name {
            font-size: 22px;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 10px;
        }
        
        .company-description {
            font-size: 14px;
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .company-info {
            margin-top: 20px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .info-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background-color: rgba(107, 70, 193, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
        }
        
        .info-text {
            font-size: 14px;
        }
        
        .info-text span {
            display: block;
            color: var(--gray);
            font-size: 12px;
        }
        
        .market-card {
            padding: 10px;
            background: #f4f4f4;
            overflow-x: scroll;
            margin: 1px;

        }
        
        .market-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .market-card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .market-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .market-table th,
        .market-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .market-table th {
            font-size: 12px;
            font-weight: 600;
            color: var(--gray);
            text-transform: uppercase;
        }
        
        .market-table td {
            font-size: 14px;
            color: var(--dark);
        }
        
        .market-table tr:last-child td {
            border-bottom: none;
        }
        
        .stock-name {
            display: flex;
            align-items: center;
        }
        
        .stock-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 600;
            font-size: 12px;
        }
        
        .apple {
            background-color: #A2AAAD;
        }
        
        .tesla {
            background-color: #E82127;
        }
        
        .amazon {
            background-color: #FF9900;
        }
        
        .google {
            background-color: #4285F4;
        }
        
        .microsoft {
            background-color: #00A4EF;
        }
        
        .stock-details span {
            display: block;
            font-size: 12px;
            color: var(--gray);
        }
        
        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .stat-card {
            animation: fadeIn 0.6s ease-out forwards;
        }
        
        .stat-card:nth-child(1) {
            animation-delay: 0.1s;
        }
        
        .stat-card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .stat-card:nth-child(3) {
            animation-delay: 0.3s;
        }
        
        .stat-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        /* Pulse animation for indicators */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
            }
        }
        
        .pulse-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--success);
            display: inline-block;
            margin-right: 8px;
            animation: pulse 2s infinite;
        }
        
        /* Scrollbar */
        ::-webkit-scrollbar {
           display: none;
        }
        
         :root {
            --primary-color: #6c5ce7;
            --secondary-color: #8e44ad;
            --success-color: #27ae60;
            --danger-color: #e74c3c;
            --light-color: #f5f6fa;
            --dark-color: #2c3e50;
            --border-color: #dcdde1;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        .containeer {
            padding: 20px;
            width: 100%;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .page-title {
            color: var(--dark-color);
            font-size: 1.8rem;
        }
        
        .admin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .admin-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            border-left: 4px solid var(--secondary-color);
        }
        
        .admin-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
        
        .admin-card.active {
            border-color: var(--primary-color);
            background-color: rgba(142, 68, 173, 0.05);
        }
        
        .admin-icon {
            width: 50px;
            height: 50px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            float: left;
            margin-right: 15px;
            font-size: 24px;
        }
        
        .admin-name {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--dark-color);
        }
        
        .admin-minimum_price {
            color: #666;
            font-size: 14px;
            margin-bottom: 10px;
            word-break: break-all;
        }
        
        .admin-role {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
        }
        
        .admin-created {
            color: #999;
            font-size: 12px;
            position: absolute;
            bottom: 10px;
            right: 15px;
        }
        
        .admin-details {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
            margin-bottom: 40px;
            padding: 20px;
            position: relative;
            display: none;
        }
        
        .admin-details.active {
            display: block;
        }
        
        .admin-details h3 {
            color: var(--secondary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .edit-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        @media (max-width: 768px) {
            .edit-form {
                grid-template-columns: 1fr;
            }
            
            .admin-grid {
                grid-template-columns: 1fr;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: var(--dark-color);
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
        }
        
        textarea.form-control {
            min-height: 100px;
            resize: vertical;
        }
        
        .btn {
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.2s;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: var(--secondary-color);
        }
        
        .btn-success {
            background-color: var(--success-color);
            color: white;
        }
        
        .btn-success:hover {
            background-color: #219653;
        }
        
        .btn-danger {
            background-color: var(--danger-color);
            color: white;
        }
        
        .btn-danger:hover {
            background-color: #c0392b;
        }
        
        .delete-btn {
            position: absolute;
            top: 20px;
            right: 20px;
        }
        
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            padding: 20px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }
        
        .warning-icon {
            font-size: 48px;
            color: #f39c12;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .modal-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--dark-color);
            text-align: center;
        }
        
        .modal-text {
            margin-bottom: 20px;
            color: #555;
            text-align: center;
        }
        
        .modal-actions {
            display: flex;
            justify-content: center;
            gap: 10px;
        }
        
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 4px;
            color: white;
            position: relative;
        }
        
        .alert-success {
            background-color: var(--success-color);
        }
        
        .alert-danger {
            background-color: var(--danger-color);
        }
        
        .close-alert {
            position: absolute;
            top: 15px;
            right: 15px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .submit-row {
            grid-column: 1 / -1;
            margin-top: 15px;
        }
        
        .new-admin-form h3 {
            color: var(--success-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        #newAdminModal .modal-content {
            max-width: 600px;
        }
        
        .note {
            color: #666;
            font-size: 13px;
            margin-top: 5px;
            font-style: italic;
        }
        
        .self-tag {
            display: inline-block;
            padding: 3px 8px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 12px;
            font-size: 11px;
            margin-left: 10px;
        }