// Corporate Professional Admin Panel - Enterprise Design .admin-panel-container { display: flex; height: 100vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Inter", sans-serif; background: #f8fafc; color: #1e293b; letter-spacing: -0.01em; font-feature-settings: "kern" 1, "liga" 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow: hidden; position: relative; // Global focus management *:focus { outline: 2px solid #4c9aff; outline-offset: 2px; } // Reduced motion support @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } @media (max-width: 768px) { flex-direction: column; } // Professional Dark Sidebar Design .admin-panel-sidebar { width: 260px; background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); color: #e2e8f0; display: flex; flex-direction: column; box-shadow: 4px 0 16px rgba(0, 0, 0, 0.2); position: relative; border-right: 1px solid rgba(255, 255, 255, 0.1); z-index: 50; // Sidebar resize handle &::after { content: ""; position: absolute; top: 0; right: -2px; width: 4px; height: 100%; cursor: col-resize; background: transparent; transition: background-color 0.2s ease; &:hover { background: rgba(9, 30, 66, 0.1); } } .admin-panel-sidebar-header { padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.2); position: relative; .admin-panel-logo { display: flex; align-items: center; gap: 12px; position: relative; svg { font-size: 1.5rem; color: #60a5fa; transition: transform 0.2s ease; } &:hover svg { transform: rotate(90deg); } h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #ffffff; letter-spacing: -0.01em; line-height: 1.4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } } // Breadcrumb indicator .admin-panel-breadcrumb { margin-top: 8px; font-size: 11px; color: #8993a4; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; line-height: 1.4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } } .admin-panel-sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(9, 30, 66, 0.13) transparent; &::-webkit-scrollbar { width: 6px; } &::-webkit-scrollbar-track { background: transparent; margin: 8px 0; } &::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; transition: background-color 0.2s ease; &:hover { background: rgba(255, 255, 255, 0.3); } } // Navigation sections .nav-section { margin-bottom: 24px; .nav-section-title { padding: 0 24px 8px 24px; font-size: 11px; font-weight: 600; color: #8993a4; text-transform: uppercase; letter-spacing: 0.5px; position: relative; &::after { content: ""; position: absolute; bottom: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, #dfe1e6, transparent); } } } .admin-panel-nav-item { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); position: relative; margin: 4px 12px; min-height: 48px; border-radius: 8px; user-select: none; color: #cbd5e1; // Hover state - Dark sidebar &:hover:not(.active) { background: rgba(255, 255, 255, 0.08); color: #ffffff; .admin-panel-nav-icon { color: #60a5fa; } .admin-panel-nav-title { color: #ffffff; } .admin-panel-nav-subtitle { color: #cbd5e1; } } // Hover indicator &::after { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleX(0); width: 3px; height: 20px; background: #8993a4; border-radius: 0 2px 2px 0; opacity: 0; transition: all 0.2s ease; transform-origin: left center; } // Active state - Dark sidebar &.active { background: rgba(96, 165, 250, 0.15); border: 1px solid rgba(96, 165, 250, 0.3); box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.2); &::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #60a5fa; border-radius: 0 2px 2px 0; } .admin-panel-nav-icon { color: #60a5fa; } .admin-panel-nav-content { .admin-panel-nav-title { color: #ffffff; font-weight: 600; } .admin-panel-nav-subtitle { color: #cbd5e1; } } } // Focus state for accessibility &:focus-visible { outline: 2px solid #4c9aff; outline-offset: 2px; } // Disabled state &.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; } .admin-panel-nav-icon { font-size: 1.2rem; color: #94a3b8; margin-right: 12px; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; position: relative; // Icon background for better visual hierarchy &::before { content: ""; position: absolute; inset: -4px; background: rgba(94, 108, 132, 0.08); border-radius: 6px; opacity: 0; transition: opacity 0.2s ease; } // Badge/notification indicator .nav-badge { position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; background: #ff5630; border-radius: 50%; border: 2px solid #ffffff; animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } } .admin-panel-nav-content { flex: 1; min-width: 0; // Prevent text overflow .admin-panel-nav-title { display: block; font-size: 14px; font-weight: 500; color: #e2e8f0; line-height: 1.5; transition: all 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } .admin-panel-nav-subtitle { display: block; font-size: 12px; color: #94a3b8; font-weight: 400; line-height: 1.5; margin-top: 2px; transition: all 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } } // Navigation item actions (dropdown, etc.) .nav-item-actions { display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.2s ease; .nav-action-btn { width: 24px; height: 24px; border: none; background: rgba(9, 30, 66, 0.04); border-radius: 4px; color: #5e6c84; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: all 0.15s ease; &:hover { background: rgba(9, 30, 66, 0.08); color: #172b4d; } } } &:hover .nav-item-actions { opacity: 1; } } } .admin-panel-sidebar-footer { padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.2); position: relative; .admin-panel-user-profile { display: flex; align-items: center; padding: 12px; margin-bottom: 16px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.2s ease; cursor: pointer; &:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(96, 165, 250, 0.3); } .admin-panel-user-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: white; margin-right: 12px; position: relative; box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3); // Online status indicator &::after { content: ""; position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: #10b981; border: 2px solid #1e293b; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); } } .admin-panel-user-info { flex: 1; min-width: 0; .admin-panel-user-name { display: block; font-size: 14px; font-weight: 600; color: #ffffff; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } .admin-panel-user-role { display: block; font-size: 12px; color: #94a3b8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } } .user-menu-trigger { width: 20px; height: 20px; border: none; background: transparent; color: #8993a4; cursor: pointer; border-radius: 4px; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; &:hover { background: rgba(9, 30, 66, 0.04); color: #5e6c84; } } } // Quick actions .quick-actions { display: flex; gap: 8px; margin-bottom: 16px; .quick-action { flex: 1; padding: 8px; border: 1px solid #dfe1e6; background: rgba(255, 255, 255, 0.8); border-radius: 6px; cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #5e6c84; &:hover { background: rgba(9, 30, 66, 0.04); border-color: #c1c7d0; color: #172b4d; } } } .admin-panel-signout-btn { width: 100%; display: flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(239, 68, 68, 0.1); color: #fca5a5; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 400; transition: all 0.2s ease; font-family: "Poppins", sans-serif; svg { font-size: 14px; transition: transform 0.2s ease; } &:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.3); color: #f87171; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); svg { transform: translateX(-2px); } } &:active { transform: translateY(0); } } } } // Main Content Styles .admin-panel-main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; // Enterprise Top Header .admin-panel-top-header { background: #ffffff; padding: 10px 40px; border-bottom: 1px solid #e1e4e8; display: flex; justify-content: space-between; align-items: center; min-height: 65.5px; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); .admin-panel-breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #656d76; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; .breadcrumb-item { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1); cursor: pointer; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &:hover:not(:last-child) { background: #f6f8fa; color: #24292f; } &:last-child { color: #24292f; font-weight: 600; background: transparent; border: none; cursor: default; } } .admin-panel-breadcrumb-arrow { font-size: 12px; color: #8b949e; margin: 0 4px; } } // Header actions with advanced controls .header-actions { display: flex; align-items: center; gap: 12px; .search-container { position: relative; .global-search { width: 280px; padding: 8px 12px 8px 36px; border: 1px solid #dfe1e6; border-radius: 6px; background: rgba(255, 255, 255, 0.9); font-size: 14px; transition: all 0.15s ease; &::placeholder { color: #8993a4; } &:focus { width: 320px; border-color: #0052cc; box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2); background: #ffffff; } } .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8993a4; font-size: 14px; pointer-events: none; } } .notification-bell { position: relative; width: 36px; height: 36px; border: 1px solid #dfe1e6; background: rgba(255, 255, 255, 0.9); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s ease; color: #5e6c84; &:hover { background: rgba(9, 30, 66, 0.04); border-color: #c1c7d0; color: #172b4d; } .notification-badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: #ff5630; border-radius: 50%; border: 2px solid #ffffff; font-size: 10px; color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; } } .theme-toggle { width: 36px; height: 36px; border: 1px solid #dfe1e6; background: rgba(255, 255, 255, 0.9); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s ease; color: #5e6c84; &:hover { background: rgba(9, 30, 66, 0.04); border-color: #c1c7d0; color: #172b4d; } } } .admin-panel-header-actions { display: flex; gap: 12px; button { background: transparent; border: 1px solid #5255c8; color: #5255c8; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.775rem; font-family: "NeueMontreal", sans-serif; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; &:hover { background: #f9fafb; border-color: #9ca3af; } } } } // Main Header - Modern Design .admin-panel-main-header { background: white; padding: 16px 16px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); .admin-panel-header-left { display: flex; align-items: center; gap: 20px; .admin-panel-header-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #1e40af 0%, #5470cc 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25); position: relative; &::before { content: ""; position: absolute; inset: -2px; background: linear-gradient(135deg, #5255c8, #8b5cf6, #a855f7); border-radius: 18px; z-index: -1; opacity: 0.3; filter: blur(8px); } } .admin-panel-header-content { h1 { margin: 0; font-size: 1.3rem; font-weight: 600; color: #1f2328; letter-spacing: -0.02em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } p { color: #656d76; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; margin: 4px 0 0 0; } } } .admin-panel-create-btn { background: #1f883d; color: white; border: 1px solid rgba(27, 31, 36, 0.15); padding: 10px 20px; border-radius: 8px; font-weight: 500; font-size: 14px; cursor: pointer; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 1px 2px rgba(27, 31, 36, 0.1); position: relative; overflow: hidden; line-height: 1.5; letter-spacing: -0.01em; &::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; } &:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35); &::before { left: 100%; } } &:active { transform: translateY(0); } } } // Tab Navigation .admin-panel-tab-navigation { background: white; padding: 12px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; .admin-panel-tab-buttons { display: flex; gap: 8px; .admin-panel-tab-btn { padding: 8px 16px; border: none; background: transparent; color: #64748b; font-weight: 500; cursor: pointer; border-radius: 6px; transition: all 0.2s ease; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: -0.01em; &.active { background: #f1f5f9; color: #1e293b; } &:hover:not(.active) { background: #f8fafc; color: #475569; } } } .admin-panel-tab-controls { display: flex; align-items: center; gap: 16px; .admin-panel-sort-dropdown { position: relative; display: flex; align-items: center; .admin-panel-dropdown-icon { position: absolute; right: 12px; color: #64748b; font-size: 0.875rem; pointer-events: none; z-index: 1; font-family: "NeueMontreal", sans-serif; } select { appearance: none; background: white; border: 1px solid #d1d5db; padding: 8px 32px 8px 12px; border-radius: 6px; font-size: 14px; color: #1f2328; cursor: pointer; min-width: 140px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } } } .admin-panel-view-toggle { display: flex; background: #f1f5f9; border-radius: 6px; padding: 2px; .admin-panel-view-btn { background: transparent; border: none; padding: 8px; cursor: pointer; border-radius: 4px; color: #64748b; transition: all 0.2s ease; &.active { background: white; color: #1e293b; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } &:hover:not(.active) { color: #475569; } } } } } // Content Area - Enterprise-Grade Professional Design .admin-panel-content-area { flex: 1; overflow-y: auto; background: #f6f8fa; padding: 16px; position: relative; // Enterprise Content Wrapper - Centered .content-wrapper { max-width: 1280px; margin: 0 auto; } // Page Header .page-header { margin-bottom: 32px; h1 { font-size: 28px; font-weight: 600; color: #1f2328; margin: 0 0 10px 0; line-height: 1.25; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.02em; } p { font-size: 15px; color: #656d76; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; } } // All form components - Enterprise consistent styling .hero-section-form-master, .offerings-form-master, .ecosystem-form-master, .trending-apps-form-master, .faq-form-master, .cta-section-form-master, .footer-form-master, .banner-section-form-master, .live-session-form-master, .blog-form-master, .seo-form-master { width: 100%; // max-width: 1280px; // margin: 0 auto 32px auto; // background: #ffffff; // border-radius: 16px; // border: 1px solid #e1e4e8; // box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2); overflow: scroll; transition: all 0.3s cubic-bezier(0.3, 0, 0.5, 1); // &:hover { // box-shadow: 0 12px 32px rgba(140, 149, 159, 0.25); // } // Professional headers .hero-section-header, .offerings-header, .ecosystem-header, .trending-apps-header, .faq-header, .cta-header, .footer-header, .banner-section-header { margin: 0; padding: 28px 40px; border-bottom: 1px solid #e1e4e8; background: #ffffff; position: relative; &::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0969da, #1f883d, #0969da); } } // Form content areas .form-container, .offeringsContent, .ecosystemContent, .form-inputs, .faq-inputs, .cta-form, .footer-form, .banner-content { background: transparent; padding: 40px; border-radius: 0; box-shadow: none; border: none; } } // Enterprise Table Styling - Centered .ant-table-wrapper { background: #ffffff; border-radius: 8px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; border: 1px solid #dfe1e6; overflow: hidden; max-width: 1400px; margin: 0 auto 24px auto; .ant-table { .ant-table-thead > tr > th { background: #f4f5f7; border-bottom: 1px solid #dfe1e6; color: #5e6c84; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; padding: 16px; } .ant-table-tbody > tr > td { border-bottom: 1px solid #f4f5f7; padding: 16px; font-size: 14px; color: #172b4d; } .ant-table-tbody > tr:hover > td { background: rgba(9, 30, 66, 0.04); } } } // Enterprise Form Controls .ant-input, .ant-select-selector, .ant-picker { border: 1px solid #dfe1e6; border-radius: 3px; font-size: 14px; padding: 8px 12px; transition: border-color 0.1s ease; &:hover { border-color: #c1c7d0; } &:focus, &.ant-input-focused, &.ant-select-focused .ant-select-selector { border-color: #0052cc; box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2); } } // Enterprise Buttons .ant-btn { border-radius: 3px; font-weight: 500; font-size: 14px; height: 32px; padding: 0 16px; transition: all 0.1s ease; &.ant-btn-primary { background: #0052cc; border-color: #0052cc; &:hover { background: #0747a6; border-color: #0747a6; } } &.ant-btn-default { background: #ffffff; border-color: #dfe1e6; color: #172b4d; &:hover { background: rgba(9, 30, 66, 0.04); border-color: #c1c7d0; } } } // Enterprise Cards .ant-card { border-radius: 8px; border: 1px solid #dfe1e6; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; .ant-card-head { border-bottom: 1px solid #dfe1e6; background: #f4f5f7; .ant-card-head-title { font-size: 16px; font-weight: 600; color: #172b4d; } } } // Enterprise Loading States .loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 32px; background: #ffffff; border-radius: 8px; border: 1px solid #dfe1e6; .loading-spinner { width: 32px; height: 32px; border: 3px solid #f4f5f7; border-top: 3px solid #0052cc; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 16px; } .loading-text { font-size: 14px; color: #5e6c84; font-weight: 500; } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } // Enterprise Empty States .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 32px; background: #ffffff; border-radius: 8px; border: 1px solid #dfe1e6; text-align: center; .empty-icon { width: 64px; height: 64px; background: #f4f5f7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: #8993a4; font-size: 24px; } .empty-title { font-size: 18px; font-weight: 600; color: #172b4d; margin-bottom: 8px; } .empty-description { font-size: 14px; color: #5e6c84; margin-bottom: 24px; max-width: 400px; line-height: 1.4; } .empty-action { background: #0052cc; color: #ffffff; border: none; padding: 8px 16px; border-radius: 3px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.1s ease; &:hover { background: #0747a6; } } } // Enterprise Notifications .notification-banner { background: #e4edff; border: 1px solid #b3d4ff; border-radius: 8px; padding: 16px; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 12px; .notification-icon { color: #0052cc; font-size: 16px; margin-top: 2px; } .notification-content { flex: 1; .notification-title { font-size: 14px; font-weight: 600; color: #172b4d; margin-bottom: 4px; } .notification-message { font-size: 14px; color: #5e6c84; line-height: 1.4; } } .notification-close { background: none; border: none; color: #5e6c84; cursor: pointer; padding: 4px; border-radius: 3px; transition: background-color 0.1s ease; &:hover { background: rgba(9, 30, 66, 0.04); } } &.warning { background: #fffae6; border-color: #ffc400; .notification-icon { color: #ff8b00; } } &.error { background: #ffebe6; border-color: #ff8f73; .notification-icon { color: #de350b; } } &.success { background: #e3fcef; border-color: #abf5d1; .notification-icon { color: #006644; } } } // Enterprise Stats Cards .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; .stat-card { background: #ffffff; border: 1px solid #dfe1e6; border-radius: 8px; padding: 20px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; .stat-value { font-size: 28px; font-weight: 700; color: #172b4d; margin-bottom: 4px; line-height: 1; } .stat-label { font-size: 12px; color: #5e6c84; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; } .stat-change { font-size: 12px; font-weight: 500; margin-top: 8px; &.positive { color: #006644; } &.negative { color: #de350b; } &.neutral { color: #5e6c84; } } } } } // Placeholder Content .admin-panel-placeholder-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 32px; text-align: center; .admin-panel-placeholder-icon { width: 96px; height: 96px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); border-radius: 24px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 2.5rem; margin-bottom: 32px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } h2 { margin: 0 0 12px 0; font-size: 1.75rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; } p { margin: 0; color: #64748b; font-size: 1rem; font-weight: 400; } } // Modal Overlay .admin-panel-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 32px; } .admin-panel-create-modal { background: white; border-radius: 12px; width: 100%; max-width: 600px; max-height: 90vh; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); .admin-panel-modal-header { padding: 24px 32px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; background: #f8fafc; h2 { margin: 0; font-size: 1.25rem; font-weight: 600; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.02em; } .admin-panel-close-btn { background: none; border: none; font-size: 1.5rem; color: #64748b; cursor: pointer; padding: 4px; border-radius: 4px; transition: all 0.2s ease; &:hover { background: #e2e8f0; color: #374151; } } } .admin-panel-modal-content { padding: 32px; overflow-y: auto; max-height: calc(90vh - 80px); // Style the form components inside modal .hero-section-form, .offerings-form, .ecosystem-form, .trending-apps-form, .faq-form, .CTASectionFormMaster, .FooterFormMaster, .banner-section-form { .form-container, .offeringsContent, .ecosystemContent, .form-inputs, .faq-inputs, .cta-form, .footer-form, .banner-content { background: transparent; padding: 0; border: none; box-shadow: none; } // Hide data display sections in modal .hero-data-display, .apps-display, .added-titles, .saved-posters, .added-banners, .added-faqs, .apps-display, .admin-cards-container { display: none; } } } } } // Mobile Header (hidden on desktop) .admin-panel-mobile-header { display: none; justify-content: space-between; align-items: center; padding: 16px; background: white; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; .admin-panel-mobile-logo { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 600; color: #1e293b; svg { color: #5255c8; font-size: 1.2rem; } } .admin-panel-mobile-toggle { background: none; border: none; font-size: 1.2rem; color: #5255c8; cursor: pointer; padding: 6px; border-radius: 6px; transition: all 0.2s ease; &:hover { background: #edeeff; color: #3f45ff; } svg { display: flex; } } } // Mobile Overlay .admin-panel-mobile-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 150; } // Responsive Design @media (max-width: 1024px) { .admin-panel-sidebar { width: 240px; } .admin-panel-main-content { .admin-panel-main-header, .admin-panel-tab-navigation, .admin-panel-top-header { padding: 16px 24px; } } } @media (max-width: 768px) { .admin-panel-mobile-header { display: flex; } .admin-panel-mobile-overlay { display: block; } .admin-panel-sidebar { position: fixed; top: 0; left: -290px; width: 290px; height: 100vh; z-index: 200; transition: left 0.3s ease; box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15); &.mobile-open { left: 0; } } .admin-panel-main-content { width: 100%; .admin-panel-top-header { padding: 12px 16px; .admin-panel-breadcrumbs { font-size: 0.8rem; } } .admin-panel-main-header { flex-direction: column; gap: 1rem; align-items: stretch; padding: 16px; .admin-panel-header-left { justify-content: center; .admin-panel-header-content { text-align: center; h1 { font-size: 1.1rem; } p { font-size: 0.8rem; } } } .admin-panel-create-btn { width: 100%; justify-content: center; } } .admin-panel-tab-navigation { flex-direction: column; gap: 16px; align-items: stretch; padding: 12px 16px; .admin-panel-tab-buttons { overflow-x: auto; .admin-panel-tab-btn { white-space: nowrap; min-width: 100px; } } .admin-panel-tab-controls { justify-content: space-between; flex-wrap: wrap; gap: 12px; } } .admin-panel-modal-overlay { padding: 16px; } .admin-panel-create-modal { max-height: 95vh; .admin-panel-modal-header { padding: 16px 20px; h2 { font-size: 1.1rem; } } .admin-panel-modal-content { padding: 20px; } } } } @media (max-width: 480px) { .admin-panel-main-content { .admin-panel-top-header, .admin-panel-main-header, .admin-panel-tab-navigation { padding: 12px; } .admin-panel-main-header { .admin-panel-header-left { .admin-panel-header-icon { width: 40px; height: 40px; font-size: 1.2rem; } } } } .admin-panel-create-modal { margin: 8px; max-height: calc(100vh - 16px); .admin-panel-modal-content { padding: 16px; } } } } // Modal Form Styles .admin-panel-create-modal-form { .form-group { margin-bottom: 24px; label { display: block; margin-bottom: 8px; font-weight: 600; color: #1f2328; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; } input, textarea, select { width: 100%; padding: 10px 14px; border: 1.5px solid #d0d7de; border-radius: 8px; font-size: 14px; transition: all 0.2s ease; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; color: #1f2328; &:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } &.error { border-color: #ef4444; } &::placeholder { color: #9ca3af; } } textarea { resize: vertical; min-height: 100px; } .error-text { display: block; color: #da3633; font-size: 13px; margin-top: 6px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; } .image-mode-toggle { display: flex; margin-bottom: 12px; background: #f3f4f6; border-radius: 6px; padding: 2px; .mode-btn { flex: 1; padding: 8px 16px; border: none; background: transparent; color: #656d76; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 4px; transition: all 0.2s ease; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &.active { background: white; color: #374151; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } &:hover:not(.active) { color: #374151; } } } } .form-actions { display: flex; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e5e7eb; button { flex: 1; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &.cancel-btn { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; &:hover { background: #e5e7eb; } } &.save-btn { background: #3b82f6; color: white; border: 1px solid #3b82f6; &:hover { background: #2563eb; } } } } } // Enterprise Card Grid .admin-panel-cards-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 24px; @media (max-width: 768px) { grid-template-columns: 1fr; gap: 16px; } } .admin-panel-card { background: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; border: 1px solid #dfe1e6; transition: all 0.1s ease; position: relative; &:hover { transform: translateY(-2px); box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; border-color: #c1c7d0; } .card-image { width: 100%; height: 180px; overflow: hidden; background: #f1f5f9; img { width: 100%; height: 100%; object-fit: cover; } } .card-content { padding: 20px; .card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; h3 { margin: 0; font-size: 16px; font-weight: 600; color: #1f2328; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } .status-badge { padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; &.active { background: #e3fcef; color: #006644; border: 1px solid #abf5d1; } &.inactive { background: #fffae6; color: #974f0c; border: 1px solid #ffc400; } } } .card-description { color: #656d76; font-size: 14px; line-height: 1.5; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } .card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; .priority-badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &.high { background: #fee2e2; color: #991b1b; } &.medium { background: #fef3c7; color: #92400e; } &.low { background: #dcfce7; color: #166534; } } .date { color: #656d76; font-size: 12px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; } } .card-actions { display: flex; gap: 8px; button { flex: 1; padding: 8px 16px; border: 1px solid #d0d7de; background: #ffffff; color: #1f2328; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; letter-spacing: -0.01em; &:hover { background: rgba(9, 30, 66, 0.04); border-color: #c1c7d0; } &.primary { background: #0052cc; color: #ffffff; border-color: #0052cc; &:hover { background: #0747a6; border-color: #0747a6; } } &.danger { background: #de350b; color: #ffffff; border-color: #de350b; &:hover { background: #bf2600; border-color: #bf2600; } } } } } } .backtohomefromAdminpanel { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #ffffff; color: #24292f; border: 1px solid #d0d7de; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04); &:hover { background: #f6f8fa; border-color: #d0d7de; text-decoration: none; } &:active { background: #f3f4f6; box-shadow: inset 0 1px 0 rgba(27, 31, 36, 0.04); } svg { font-size: 16px; } }