-
Notifications
You must be signed in to change notification settings - Fork 636
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> … #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
omarahmd1495-collab
wants to merge
1
commit into
Visual-Studio-Code:main
Choose a base branch
from
omarahmd1495-collab:patch-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> … #174
omarahmd1495-collab
wants to merge
1
commit into
Visual-Studio-Code:main
from
omarahmd1495-collab:patch-1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…name="viewport" content="width=device-width, initial-scale=1.0"> <title>Medrasa Academy - Complete School Management System</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&family=Roboto+Mono:wght@300;400;500&family=Dancing+Script:wght@400;500;600;700&display=swap" rel="stylesheet"> <link rel="manifest" href="/manifest.json"> <meta name="theme-color" content="#1A56DB"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <link rel="apple-touch-icon" href="https://uploads.onecompiler.io/43zx3dt8f/446bh3zrj/1000169792.png"> <style> /* ===== COMPLETE CSS - FIXED AND ENHANCED ===== */ :root { /* Vibrant Color Palette */ --primary-red: #FF4757; --primary-red-dark: #FF3838; --primary-red-light: #FF7979; --primary-yellow: #FFD32A; --primary-yellow-dark: #F9CA24; --primary-yellow-light: #FFEAA7; --primary-blue: #1B9CFC; --primary-blue-dark: #0A79DF; --primary-blue-light: #74B9FF; --primary-green: #20BF6B; --primary-green-dark: #16A085; --primary-green-light: #7BED9F; --primary-rose: #FD79A8; --primary-rose-dark: #E84393; --primary-rose-light: #FFB8D7; --primary-purple: #8A2BE2; --primary-purple-light: #A855F7; --primary-orange: #FF9F1A; --khube-blue: #1A56DB; --khube-green: #059669; --gray-600: #718096; --gray-200: #e2e8f0; /* Gradients */ --gradient-rainbow: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 15%, var(--primary-yellow) 30%, var(--primary-green) 45%, var(--primary-blue) 60%, var(--primary-purple) 75%, var(--primary-rose) 90%); --gradient-header: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 25%, var(--primary-green) 50%, var(--primary-blue) 75%, var(--primary-rose) 100%); --gradient-footer: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 33%, var(--primary-green) 66%, var(--primary-yellow) 100%); --gradient-card: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 211, 42, 0.1) 50%, rgba(27, 156, 252, 0.1) 100%); --gradient-khube: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); /* Typography */ --font-primary: 'Poppins', sans-serif; --font-secondary: 'Montserrat', sans-serif; --font-mono: 'Roboto Mono', monospace; --font-cursive: 'Dancing Script', cursive; /* Shadows */ --shadow-sm: 0 2px 8px rgba(0,0,0,0.08); --shadow-md: 0 4px 16px rgba(0,0,0,0.12); --shadow-lg: 0 8px 32px rgba(0,0,0,0.16); --shadow-xl: 0 16px 48px rgba(0,0,0,0.20); /* Transitions */ --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1); --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-primary); line-height: 1.6; color: #2c3e50; background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); min-height: 100vh; overflow-x: hidden; } /* ===== LOGIN SCREEN ===== */ .login-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); z-index: 9999; } .login-container { background: white; padding: 3rem; border-radius: 25px; box-shadow: var(--shadow-xl); width: 90%; max-width: 450px; text-align: center; position: relative; overflow: hidden; animation: fadeInUp 0.5s ease; } .login-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-khube); } .login-logo { width: 100px; height: 100px; border-radius: 20px; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 10px; } .login-logo img { width: 100%; height: 100%; object-fit: contain; } .login-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; background: var(--gradient-khube); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } .role-selector { display: flex; gap: 1rem; margin: 1.5rem 0; justify-content: center; flex-wrap: wrap; } .role-btn { padding: 0.75rem 1.5rem; border: 2px solid var(--gray-200); border-radius: 12px; background: white; cursor: pointer; transition: all var(--transition-normal); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .role-btn.active { background: var(--gradient-khube); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-md); } .login-form { text-align: left; } .login-form-group { margin-bottom: 1.5rem; } .login-form-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .login-form-control { width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); } .login-form-control:focus { outline: none; border-color: var(--khube-blue); box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1); } .login-btn { width: 100%; padding: 1rem; background: var(--gradient-khube); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all var(--transition-normal); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .login-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } .register-link { margin-top: 1.5rem; color: var(--gray-600); font-size: 0.9rem; text-align: center; } .register-link a { color: var(--khube-blue); font-weight: 600; text-decoration: none; cursor: pointer; } /* Default Credentials Box */ .default-credentials { margin-top: 1.5rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; border: 1px solid var(--gray-200); } .default-credentials p { color: var(--gray-600); margin-bottom: 0.5rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; } .default-credentials strong { color: var(--khube-blue); } /* Registration Overlay */ .registration-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(10px); } .registration-container { background: white; padding: 3rem; border-radius: 25px; box-shadow: var(--shadow-xl); width: 90%; max-width: 500px; text-align: center; position: relative; overflow: hidden; animation: fadeInUp 0.5s ease; } .registration-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-khube); } .registration-logo { width: 100px; height: 100px; border-radius: 20px; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 10px; } .registration-logo img { width: 100%; height: 100%; object-fit: contain; } .registration-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; background: var(--gradient-khube); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } .registration-form { text-align: left; margin-top: 1.5rem; } .registration-form-group { margin-bottom: 1.5rem; } .registration-form-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .registration-form-control { width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); } .registration-form-control:focus { outline: none; border-color: var(--khube-blue); box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1); } .registration-btn { width: 100%; padding: 1rem; background: var(--gradient-khube); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all var(--transition-normal); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .registration-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } /* Password Strength */ .password-strength { height: 5px; margin-top: 0.5rem; border-radius: 2px; transition: all 0.3s; } .strength-weak { width: 25%; background: var(--primary-red); } .strength-medium { width: 50%; background: var(--primary-yellow); } .strength-strong { width: 75%; background: var(--primary-orange); } .strength-very-strong { width: 100%; background: var(--primary-green); } /* ===== MAIN SYSTEM ===== */ .system-container { display: none; } /* Animated Background */ .animated-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.05; background: radial-gradient(circle at 20% 80%, var(--primary-red-light) 0%, transparent 20%), radial-gradient(circle at 80% 20%, var(--primary-blue-light) 0%, transparent 20%), radial-gradient(circle at 40% 40%, var(--primary-green-light) 0%, transparent 20%); animation: float 20s ease-in-out infinite; } @Keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(20px, 20px); } 66% { transform: translate(-20px, -20px); } } /* Header */ header { background: var(--gradient-header); padding: 1rem 0; box-shadow: var(--shadow-lg); position: sticky; top: 0; z-index: 1000; animation: slideDown 0.5s ease; } .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 20px; } .header-left { display: flex; align-items: center; gap: 1.5rem; } .logo { width: 70px; height: 70px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 5px; transition: var(--transition-normal); } .logo:hover { transform: rotate(5deg) scale(1.05); } .logo img { width: 100%; height: 100%; object-fit: contain; } .school-info h1 { font-size: 2rem; font-weight: 900; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 0.25rem; font-family: var(--font-secondary); background: linear-gradient(45deg, #ffffff, var(--primary-yellow-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .school-info p { color: rgba(255,255,255,0.95); font-weight: 500; font-size: 0.95rem; } .user-info { display: flex; align-items: center; gap: 1rem; color: white; font-weight: 600; } .logout-btn { background: rgba(255,255,255,0.2); color: white; border: 2px solid rgba(255,255,255,0.3); padding: 0.5rem 1rem; border-radius: 12px; cursor: pointer; transition: var(--transition-normal); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .logout-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); } /* Brand Badge */ .brand-badge { background: var(--gradient-khube); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; } /* Main Container */ .container { max-width: 1400px; margin: 2rem auto; padding: 0 20px; position: relative; } /* Tabs Navigation */ .tabs-nav { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; background: white; padding: 1rem; border-radius: 20px; box-shadow: var(--shadow-md); position: sticky; top: 100px; z-index: 999; } .tab-btn { padding: 1rem 1.5rem; background: white; border: 2px solid transparent; border-radius: 15px; cursor: pointer; font-weight: 700; color: var(--primary-blue-dark); transition: all var(--transition-normal); display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-secondary); font-size: 0.95rem; position: relative; overflow: hidden; } .tab-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gradient-rainbow); opacity: 0.1; transition: var(--transition-normal); } .tab-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-red); color: var(--primary-red); } .tab-btn:hover::before { left: 0; } .tab-btn.active { background: var(--gradient-header); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-lg); } .finance-tab { display: none; } .finance-role .finance-tab { display: flex !important; } /* Sections */ .section { background: white; padding: 2.5rem; border-radius: 25px; box-shadow: var(--shadow-lg); margin-bottom: 2rem; display: none; animation: fadeInUp 0.5s ease; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); } .section.active { display: block; } .section-title { background: var(--gradient-rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 3px solid var(--gradient-header); display: flex; align-items: center; gap: 1rem; font-size: 2rem; font-weight: 800; font-family: var(--font-secondary); } /* Dashboard Cards */ .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .dashboard-card { background: white; padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-md); border-left: 6px solid; transition: all var(--transition-normal); position: relative; overflow: hidden; } .dashboard-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: inherit; } .dashboard-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); } .card-red { border-color: var(--primary-red); } .card-yellow { border-color: var(--primary-yellow); } .card-blue { border-color: var(--primary-blue); } .card-green { border-color: var(--primary-green); } .card-rose { border-color: var(--primary-rose); } .card-purple { border-color: var(--primary-purple); } .card-khube { border-color: var(--khube-blue); } .stat-number { font-size: 3.5rem; font-weight: 900; margin: 1rem 0; background: var(--gradient-rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } /* Photo Gallery Styles */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .gallery-item { position: relative; border-radius: 15px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); transition: all var(--transition-normal); aspect-ratio: 1; } .gallery-item:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-lg); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; } .gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: white; padding: 1rem; transform: translateY(100%); transition: var(--transition-normal); } .gallery-item:hover .gallery-overlay { transform: translateY(0); } /* File Upload Styles */ .file-upload-zone { border: 3px dashed var(--primary-blue); border-radius: 20px; padding: 3rem; text-align: center; margin: 2rem 0; background: var(--gradient-card); cursor: pointer; transition: all var(--transition-normal); position: relative; } .file-upload-zone:hover { border-color: var(--primary-red); background: rgba(255, 71, 87, 0.05); transform: scale(1.01); } .upload-icon { font-size: 4rem; color: var(--primary-blue); margin-bottom: 1.5rem; animation: bounce 2s infinite; } @Keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } /* Student Registration Form */ .form-container { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-md); margin: 2rem 0; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-label { display: block; margin-bottom: 0.5rem; color: var(--primary-blue-dark); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; } .form-control { width: 100%; padding: 1rem; border: 2px solid #e0e0e0; border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); background: white; } .form-control:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 156, 252, 0.1); } /* Table Styles */ .data-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 2rem; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-md); } .data-table th { background: var(--gradient-header); color: white; padding: 1.5rem; text-align: left; font-weight: 700; font-family: var(--font-secondary); position: relative; } .data-table th::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(255, 255, 255, 0.3); } .data-table th:last-child::after { display: none; } .data-table td { padding: 1.5rem; border-bottom: 1px solid #f0f0f0; background: white; transition: var(--transition-fast); } .data-table tr:last-child td { border-bottom: none; } .data-table tr:hover td { background: var(--gradient-card); } /* Certificate Styles */ .certificate-container { background: linear-gradient(135deg, #fff9db 0%, #ffecb3 100%); border: 20px solid var(--primary-yellow); padding: 4rem; margin: 3rem auto; position: relative; box-shadow: var(--shadow-xl); border-radius: 5px; max-width: 1000px; } .certificate-border { position: absolute; border: 2px solid var(--primary-red); top: 20px; left: 20px; right: 20px; bottom: 20px; pointer-events: none; } .certificate-header { text-align: center; margin-bottom: 3rem; position: relative; } .certificate-title { font-size: 3.5rem; color: var(--primary-red); font-weight: 900; font-family: var(--font-cursive); margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); } /* Roster Styles */ .roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .roster-card { background: white; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); position: relative; overflow: hidden; } .roster-card:hover { border-color: var(--primary-blue); transform: translateY(-5px); box-shadow: var(--shadow-lg); } /* Action Buttons */ .action-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; } .btn { padding: 0.8rem 1.5rem; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; font-family: var(--font-secondary); transition: all var(--transition-normal); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; } .btn-primary { background: var(--primary-blue); color: white; } .btn-success { background: var(--primary-green); color: white; } .btn-danger { background: var(--primary-red); color: white; } .btn-warning { background: var(--primary-yellow); color: #333; } .btn-rose { background: var(--primary-rose); color: white; } .btn-khube { background: var(--gradient-khube); color: white; } .btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); opacity: 0.9; } /* Finance Styles */ .finance-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .invoice-table { width: 100%; border-collapse: collapse; margin-top: 1rem; } .invoice-table th, .invoice-table td { padding: 1rem; border: 1px solid var(--gray-200); text-align: left; } .invoice-table th { background: var(--gradient-card); font-weight: 600; } .status-paid { background: var(--primary-green-light); color: var(--primary-green-dark); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } .status-pending { background: var(--primary-yellow-light); color: #b8860b; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } /* ===== ENHANCED FOOTER STYLES ===== */ footer { background: linear-gradient(135deg, #1A56DB 0%, #FFD32A 50%, #FF4757 100%); color: white; padding: 4rem 0 2rem; margin-top: 4rem; position: relative; overflow: hidden; } footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(135deg, #FF4757 0%, #FFD32A 33%, #1A56DB 66%, #059669 100%); } .social-media-links { display: flex; flex-direction: column; gap: 0.75rem; } .social-link { display: flex; align-items: center; gap: 0.75rem; color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 10px; transition: all var(--transition-normal); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 500; } .social-link:hover { transform: translateX(10px); background: rgba(255, 255, 255, 0.2); } .social-link.youtube { border-left: 4px solid #FF0000; } .social-link.telegram { border-left: 4px solid #0088cc; } .social-link.facebook { border-left: 4px solid #1877F2; } .social-link.twitter { border-left: 4px solid #1DA1F2; } .social-link.tiktok { border-left: 4px solid #000000; } .social-link i { font-size: 1.2rem; width: 24px; text-align: center; } .social-link.youtube i { color: #FF0000; } .social-link.telegram i { color: #0088cc; } .social-link.facebook i { color: #1877F2; } .social-link.twitter i { color: #1DA1F2; } .social-link.tiktok i { color: #000000; } .copyright { text-align: center; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); max-width: 1400px; margin: 3rem auto 0; padding: 2rem 20px 0; background: rgba(0, 0, 0, 0.2); border-radius: 20px 20px 0 0; padding: 2rem; } .copyright p { margin-bottom: 0.5rem; } .copyright strong { color: #FFD32A; font-weight: 800; } /* Footer Content */ .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1400px; margin: 0 auto; padding: 0 20px; } .footer-section h4 { font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; font-weight: 800; font-family: var(--font-secondary); } .footer-section h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: white; border-radius: 2px; } /* Khube Brand */ .khube-brand { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); } .khube-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: white; padding: 5px; } .khube-logo img { width: 100%; height: 100%; object-fit: contain; } /* Animations */ @Keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @Keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } } /* Responsive */ @media (max-width: 768px) { .container { padding: 0 15px; } .section { padding: 1.5rem; } .tabs-nav { top: 90px; } .tab-btn { padding: 0.8rem 1rem; font-size: 0.85rem; } .form-grid { grid-template-columns: 1fr; } .dashboard-grid { grid-template-columns: 1fr; } .login-container, .registration-container { padding: 2rem; margin: 1rem; } .role-selector { flex-direction: column; } } /* Print Styles */ @media print { .no-print { display: none !important; } .section { box-shadow: none; border: none; page-break-inside: avoid; } } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 5px; } ::-webkit-scrollbar-thumb { background: var(--gradient-header); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-red); } /* Badge Styles */ .badge { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; } .badge-red { background: var(--primary-red); color: white; } .badge-yellow { background: var(--primary-yellow); color: #333; } .badge-blue { background: var(--primary-blue); color: white; } .badge-green { background: var(--primary-green); color: white; } .badge-rose { background: var(--primary-rose); color: white; } .badge-purple { background: var(--primary-purple); color: white; } .badge-khube { background: var(--gradient-khube); color: white; } /* Loading Spinner */ .spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-blue); border-radius: 50%; animation: spin 1s linear infinite; margin: 2rem auto; } @Keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Floating Elements */ .floating-element { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--gradient-header); opacity: 0.1; animation: floatElement 20s infinite ease-in-out; z-index: -1; } @Keyframes floatElement { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(100px, 50px) rotate(120deg); } 66% { transform: translate(-50px, 100px) rotate(240deg); } } /* Student Photo Upload */ .student-photo-upload { width: 150px; height: 150px; border-radius: 20px; border: 3px dashed var(--primary-blue); display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; margin: 0 auto 1rem; transition: var(--transition-normal); } .student-photo-upload:hover { border-color: var(--primary-red); transform: scale(1.05); } .student-photo-preview { width: 100%; height: 100%; object-fit: cover; display: none; } /* File Type Icons */ .file-type-icon { font-size: 3rem; color: var(--primary-blue); margin: 1rem; } .file-type-icon.excel { color: var(--primary-green); } .file-type-icon.word { color: var(--primary-blue); } .file-type-icon.pdf { color: var(--primary-red); } .file-type-icon.image { color: var(--primary-rose); } /* Finance Dashboard */ .finance-card { background: white; padding: 1.5rem; border-radius: 15px; box-shadow: var(--shadow-md); border-top: 4px solid; text-align: center; } .finance-card h3 { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0.5rem; } .finance-card .amount { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; } .finance-card.today { border-color: var(--primary-green); } .finance-card.month { border-color: var(--primary-blue); } .finance-card.year { border-color: var(--primary-purple); } .finance-card.pending { border-color: var(--primary-yellow); } /* Tooltip */ .tooltip { position: relative; display: inline-block; } .tooltip .tooltiptext { visibility: hidden; width: 200px; background-color: var(--khube-blue); color: white; text-align: center; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -100px; opacity: 0; transition: opacity 0.3s; font-size: 0.8rem; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } /* ===== FINANCE COMMUNICATION SECTION ===== */ .finance-communication-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .payment-method-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); text-align: center; } .payment-method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); } .payment-logo { width: 100px; height: 100px; margin: 0 auto 1.5rem; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; } .cbe-logo { background: linear-gradient(135deg, #006400 0%, #228B22 100%); } .telebirr-logo { background: linear-gradient(135deg, #00A859 0%, #00C853 100%); } .cbe-birr-logo { background: linear-gradient(135deg, #800080 0%, #4B0082 100%); } .qr-code-container { margin: 1.5rem auto; padding: 1.5rem; background: white; border-radius: 15px; box-shadow: var(--shadow-md); display: inline-block; } .qr-code { width: 200px; height: 200px; background: #f8f9fa; border-radius: 10px; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gray-600); } /* ===== MEDRASA BRAND APP ===== */ .brand-app-container { background: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); border-radius: 25px; padding: 3rem; margin: 2rem 0; color: white; text-align: center; } .app-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .app-feature { background: rgba(255, 255, 255, 0.1); padding: 1.5rem; border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .app-download-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; } .app-download-btn { padding: 1rem 2rem; border-radius: 12px; background: white; color: var(--khube-blue); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 0.75rem; transition: all var(--transition-normal); } .app-download-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .app-screenshot { width: 100%; max-width: 300px; border-radius: 20px; box-shadow: var(--shadow-xl); border: 5px solid white; } /* ===== SMS & NOTIFICATION SYSTEM ===== */ .sms-system { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 20px; padding: 2rem; margin: 2rem 0; color: white; } .sms-form { display: grid; grid-template-columns: 1fr auto; gap: 1rem; margin-top: 1rem; } .notification-badge { position: absolute; top: -5px; right: -5px; background: var(--primary-red); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; } /* ===== REAL-TIME DASHBOARD UPDATES ===== */ .real-time-update { animation: pulse 2s infinite; } @Keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } } /* ===== MOBILE APP SPECIFIC STYLES ===== */ @media (max-width: 768px) { .app-download-buttons { flex-direction: column; align-items: center; } .app-download-btn { width: 100%; max-width: 300px; justify-content: center; } .sms-form { grid-template-columns: 1fr; } } /* ===== INSTALL APP BUTTON ===== */ .install-app-btn { position: fixed; bottom: 20px; right: 20px; background: var(--gradient-khube); color: white; padding: 1rem 1.5rem; border-radius: 50px; box-shadow: var(--shadow-lg); z-index: 10000; display: flex; align-items: center; gap: 0.75rem; cursor: pointer; animation: bounce 2s infinite; } /* ===== PWA OFFLINE INDICATOR ===== */ .offline-indicator { position: fixed; top: 0; left: 0; right: 0; background: var(--primary-red); color: white; padding: 0.5rem; text-align: center; z-index: 10001; display: none; } /* ===== ADDITIONAL MISSING CSS ===== */ .login-link { margin-top: 1.5rem; color: var(--gray-600); font-size: 0.9rem; text-align: center; } .login-link a { color: var(--khube-blue); font-weight: 600; text-decoration: none; cursor: pointer; } @Keyframes fadeOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } } /* ===== ATTENDANCE SPECIFIC STYLES ===== */ .attendance-forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin: 2rem 0; } .attendance-form-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border-top: 5px solid; transition: all var(--transition-normal); } .attendance-form-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .attendance-form-card.student { border-color: var(--primary-blue); } .attendance-form-card.teacher { border-color: var(--primary-green); } .attendance-form-card.committee { border-color: var(--primary-purple); } .attendance-form-card.staff { border-color: var(--primary-orange); } .attendance-status-badge { padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.25rem; cursor: pointer; transition: all 0.3s; } .status-present { background: var(--primary-green-light); color: var(--primary-green-dark); } .status-absent { background: var(--primary-red-light); color: var(--primary-red-dark); } .status-late { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .status-excused { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .attendance-status-badge.active { transform: scale(1.05); box-shadow: var(--shadow-sm); } .attendance-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .attendance-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .attendance-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } .attendance-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .summary-card { background: white; padding: 1.5rem; border-radius: 15px; text-align: center; box-shadow: var(--shadow-md); border-left: 4px solid; } /* ===== ASSIGNMENT UPLOAD STYLES ===== */ .assignment-upload-container { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 20px; padding: 2rem; margin: 2rem 0; } .assignment-card { background: white; border-radius: 15px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--primary-blue); transition: all var(--transition-normal); } .assignment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .submission-status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; } .submitted { background: var(--primary-green-light); color: var(--primary-green-dark); } .pending { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .overdue { background: var(--primary-red-light); color: var(--primary-red-dark); } .graded { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .grade-badge { font-size: 1.2rem; font-weight: 800; padding: 0.5rem 1rem; border-radius: 10px; display: inline-block; } .grade-a { background: var(--primary-green); color: white; } .grade-b { background: var(--primary-blue); color: white; } .grade-c { background: var(--primary-yellow); color: #333; } .grade-d { background: var(--primary-orange); color: white; } .grade-f { background: var(--primary-red); color: white; } /* ===== FINANCE FORMS STYLES ===== */ .finance-forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; } .finance-form-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .finance-form-card:hover { border-color: var(--khube-blue); transform: translateY(-3px); } .payment-link { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; margin: 0.5rem 0; text-decoration: none; color: var(--khube-blue); font-weight: 600; transition: all var(--transition-normal); } .payment-link:hover { background: var(--gradient-khube); color: white; transform: translateX(5px); } .expense-category { padding: 0.5rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; display: inline-block; margin: 0.25rem; } .category-salary { background: var(--primary-rose-light); color: var(--primary-rose-dark); } .category-utilities { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .category-materials { background: var(--primary-green-light); color: var(--primary-green-dark); } .category-maintenance { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .category-other { background: var(--primary-purple-light); color: var(--primary-purple); } /* ===== FILE UPLOAD ENHANCEMENTS ===== */ .file-preview { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; margin: 1rem 0; } .file-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; } .file-icon.pdf { background: var(--primary-red); } .file-icon.word { background: var(--primary-blue); } .file-icon.excel { background: var(--primary-green); } .file-icon.image { background: var(--primary-rose); } .file-icon.other { background: var(--primary-purple); } .upload-progress { height: 5px; background: var(--gray-200); border-radius: 2px; margin: 1rem 0; overflow: hidden; } .progress-bar { height: 100%; background: var(--gradient-khube); transition: width 0.3s; } /* ===== ASSESSMENT GRADING STYLES ===== */ .grading-rubric { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 15px; padding: 1.5rem; margin: 1.5rem 0; } .rubric-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--gray-200); } .rubric-item:last-child { border-bottom: none; } .grade-input-group { display: flex; align-items: center; gap: 1rem; } .grade-input { width: 80px; text-align: center; font-weight: 700; font-size: 1.2rem; } .feedback-box { min-height: 150px; border: 2px solid var(--gray-200); border-radius: 12px; padding: 1rem; transition: all var(--transition-fast); } .feedback-box:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 156, 252, 0.1); } /* ===== PRINT OPTIMIZATIONS ===== */ @media print { .attendance-form-card, .finance-form-card, .assignment-card { break-inside: avoid; page-break-inside: avoid; } } /* ===== LOADING STATES ===== */ .loading { opacity: 0.6; pointer-events: none; position: relative; } .loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; border: 3px solid var(--gray-200); border-top: 3px solid var(--primary-blue); border-radius: 50%; animation: spin 1s linear infinite; transform: translate(-50%, -50%); } /* ===== NEW SECTIONS STYLES ===== */ .section-placeholder { background: var(--gradient-card); border-radius: 20px; padding: 4rem 2rem; text-align: center; margin: 2rem 0; } .section-placeholder i { font-size: 4rem; color: var(--khube-blue); margin-bottom: 1.5rem; } .section-placeholder h3 { color: var(--khube-blue); margin-bottom: 1rem; } .section-placeholder p { color: var(--gray-600); max-width: 600px; margin: 0 auto; } /* Reports Section Styles */ .reports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .report-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .report-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); } .report-card h4 { color: var(--khube-blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; } /* Grades Section Styles */ .grades-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .grades-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .grades-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } .grade-input-small { width: 60px; text-align: center; padding: 0.5rem; border: 1px solid var(--gray-200); border-radius: 5px; } /* Assessment Section Styles */ .assessment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .assessment-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border-left: 4px solid; } .assessment-card.quiz { border-color: var(--primary-blue); } .assessment-card.exam { border-color: var(--primary-red); } .assessment-card.project { border-color: var(--primary-green); } .assessment-card.homework { border-color: var(--primary-yellow); } /* Import/Export Styles */ .import-export-options { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; } .import-export-card { flex: 1; min-width: 250px; background: white; border-radius: 15px; padding: 2rem; box-shadow: var(--shadow-md); text-align: center; transition: all var(--transition-normal); } .import-export-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } /* Roster Styles */ .roster-container { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); margin: 2rem 0; } .roster-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .roster-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .roster-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } /* Settings Styles */ .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .settings-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .settings-card:hover { border-color: var(--khube-blue); } .settings-group { margin-bottom: 1.5rem; } .settings-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; } .toggle-switch { position: relative; display: inline-block; width: 60px; height: 30px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 30px; } .toggle-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .toggle-slider { background-color: var(--khube-blue); } input:checked + .toggle-slider:before { transform: translateX(30px); } /* Certificate Styles */ .certificate-preview { background: linear-gradient(135deg, #fff9db 0%, #ffecb3 100%); border: 15px solid var(--primary-yellow); padding: 3rem; margin: 2rem auto; position: relative; box-shadow: var(--shadow-xl); border-radius: 5px; max-width: 800px; min-height: 500px; } .certificate-preview h3 { text-align: center; color: var(--primary-red); font-family: var(--font-cursive); font-size: 2.5rem; margin-bottom: 2rem; } .certificate-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; } /* Gallery Styles */ .gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; } .gallery-upload-btn { padding: 0.75rem 1.5rem; background: var(--gradient-khube); color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; transition: all var(--transition-normal); } .gallery-upload-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } /* Import/Export Modal */ .import-export-modal { position: f…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… <title>Medrasa Academy - Complete School Management System</title> <style> /* ===== COMPLETE CSS - FIXED AND ENHANCED ===== / :root { / Vibrant Color Palette / --primary-red: #FF4757; --primary-red-dark: #FF3838; --primary-red-light: #FF7979; --primary-yellow: #FFD32A; --primary-yellow-dark: #F9CA24; --primary-yellow-light: #FFEAA7; --primary-blue: #1B9CFC; --primary-blue-dark: #0A79DF; --primary-blue-light: #74B9FF; --primary-green: #20BF6B; --primary-green-dark: #16A085; --primary-green-light: #7BED9F; --primary-rose: #FD79A8; --primary-rose-dark: #E84393; --primary-rose-light: #FFB8D7; --primary-purple: #8A2BE2; --primary-purple-light: #A855F7; --primary-orange: #FF9F1A; --khube-blue: #1A56DB; --khube-green: #059669; --gray-600: #718096; --gray-200: #e2e8f0; / Gradients / --gradient-rainbow: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 15%, var(--primary-yellow) 30%, var(--primary-green) 45%, var(--primary-blue) 60%, var(--primary-purple) 75%, var(--primary-rose) 90%); --gradient-header: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 25%, var(--primary-green) 50%, var(--primary-blue) 75%, var(--primary-rose) 100%); --gradient-footer: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 33%, var(--primary-green) 66%, var(--primary-yellow) 100%); --gradient-card: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 211, 42, 0.1) 50%, rgba(27, 156, 252, 0.1) 100%); --gradient-khube: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); / Typography / --font-primary: 'Poppins', sans-serif; --font-secondary: 'Montserrat', sans-serif; --font-mono: 'Roboto Mono', monospace; --font-cursive: 'Dancing Script', cursive; / Shadows / --shadow-sm: 0 2px 8px rgba(0,0,0,0.08); --shadow-md: 0 4px 16px rgba(0,0,0,0.12); --shadow-lg: 0 8px 32px rgba(0,0,0,0.16); --shadow-xl: 0 16px 48px rgba(0,0,0,0.20); / Transitions / --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1); --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-primary); line-height: 1.6; color: #2c3e50; background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); min-height: 100vh; overflow-x: hidden; } / ===== LOGIN SCREEN ===== / .login-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); z-index: 9999; } .login-container { background: white; padding: 3rem; border-radius: 25px; box-shadow: var(--shadow-xl); width: 90%; max-width: 450px; text-align: center; position: relative; overflow: hidden; animation: fadeInUp 0.5s ease; } .login-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-khube); } .login-logo { width: 100px; height: 100px; border-radius: 20px; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 10px; } .login-logo img { width: 100%; height: 100%; object-fit: contain; } .login-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; background: var(--gradient-khube); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } .role-selector { display: flex; gap: 1rem; margin: 1.5rem 0; justify-content: center; flex-wrap: wrap; } .role-btn { padding: 0.75rem 1.5rem; border: 2px solid var(--gray-200); border-radius: 12px; background: white; cursor: pointer; transition: all var(--transition-normal); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .role-btn.active { background: var(--gradient-khube); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-md); } .login-form { text-align: left; } .login-form-group { margin-bottom: 1.5rem; } .login-form-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .login-form-control { width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); } .login-form-control:focus { outline: none; border-color: var(--khube-blue); box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1); } .login-btn { width: 100%; padding: 1rem; background: var(--gradient-khube); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all var(--transition-normal); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .login-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } .register-link { margin-top: 1.5rem; color: var(--gray-600); font-size: 0.9rem; text-align: center; } .register-link a { color: var(--khube-blue); font-weight: 600; text-decoration: none; cursor: pointer; } / Default Credentials Box / .default-credentials { margin-top: 1.5rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; border: 1px solid var(--gray-200); } .default-credentials p { color: var(--gray-600); margin-bottom: 0.5rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; } .default-credentials strong { color: var(--khube-blue); } / Registration Overlay / .registration-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(10px); } .registration-container { background: white; padding: 3rem; border-radius: 25px; box-shadow: var(--shadow-xl); width: 90%; max-width: 500px; text-align: center; position: relative; overflow: hidden; animation: fadeInUp 0.5s ease; } .registration-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-khube); } .registration-logo { width: 100px; height: 100px; border-radius: 20px; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 10px; } .registration-logo img { width: 100%; height: 100%; object-fit: contain; } .registration-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; background: var(--gradient-khube); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } .registration-form { text-align: left; margin-top: 1.5rem; } .registration-form-group { margin-bottom: 1.5rem; } .registration-form-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .registration-form-control { width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); } .registration-form-control:focus { outline: none; border-color: var(--khube-blue); box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1); } .registration-btn { width: 100%; padding: 1rem; background: var(--gradient-khube); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all var(--transition-normal); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .registration-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } / Password Strength / .password-strength { height: 5px; margin-top: 0.5rem; border-radius: 2px; transition: all 0.3s; } .strength-weak { width: 25%; background: var(--primary-red); } .strength-medium { width: 50%; background: var(--primary-yellow); } .strength-strong { width: 75%; background: var(--primary-orange); } .strength-very-strong { width: 100%; background: var(--primary-green); } / ===== MAIN SYSTEM ===== / .system-container { display: none; } / Animated Background / .animated-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.05; background: radial-gradient(circle at 20% 80%, var(--primary-red-light) 0%, transparent 20%), radial-gradient(circle at 80% 20%, var(--primary-blue-light) 0%, transparent 20%), radial-gradient(circle at 40% 40%, var(--primary-green-light) 0%, transparent 20%); animation: float 20s ease-in-out infinite; } @Keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(20px, 20px); } 66% { transform: translate(-20px, -20px); } } / Header / header { background: var(--gradient-header); padding: 1rem 0; box-shadow: var(--shadow-lg); position: sticky; top: 0; z-index: 1000; animation: slideDown 0.5s ease; } .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 20px; } .header-left { display: flex; align-items: center; gap: 1.5rem; } .logo { width: 70px; height: 70px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid white; background: white; padding: 5px; transition: var(--transition-normal); } .logo:hover { transform: rotate(5deg) scale(1.05); } .logo img { width: 100%; height: 100%; object-fit: contain; } .school-info h1 { font-size: 2rem; font-weight: 900; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 0.25rem; font-family: var(--font-secondary); background: linear-gradient(45deg, #ffffff, var(--primary-yellow-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .school-info p { color: rgba(255,255,255,0.95); font-weight: 500; font-size: 0.95rem; } .user-info { display: flex; align-items: center; gap: 1rem; color: white; font-weight: 600; } .logout-btn { background: rgba(255,255,255,0.2); color: white; border: 2px solid rgba(255,255,255,0.3); padding: 0.5rem 1rem; border-radius: 12px; cursor: pointer; transition: var(--transition-normal); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .logout-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); } / Brand Badge / .brand-badge { background: var(--gradient-khube); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; } / Main Container / .container { max-width: 1400px; margin: 2rem auto; padding: 0 20px; position: relative; } / Tabs Navigation / .tabs-nav { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; background: white; padding: 1rem; border-radius: 20px; box-shadow: var(--shadow-md); position: sticky; top: 100px; z-index: 999; } .tab-btn { padding: 1rem 1.5rem; background: white; border: 2px solid transparent; border-radius: 15px; cursor: pointer; font-weight: 700; color: var(--primary-blue-dark); transition: all var(--transition-normal); display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-secondary); font-size: 0.95rem; position: relative; overflow: hidden; } .tab-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gradient-rainbow); opacity: 0.1; transition: var(--transition-normal); } .tab-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-red); color: var(--primary-red); } .tab-btn:hover::before { left: 0; } .tab-btn.active { background: var(--gradient-header); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-lg); } .finance-tab { display: none; } .finance-role .finance-tab { display: flex !important; } / Sections / .section { background: white; padding: 2.5rem; border-radius: 25px; box-shadow: var(--shadow-lg); margin-bottom: 2rem; display: none; animation: fadeInUp 0.5s ease; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); } .section.active { display: block; } .section-title { background: var(--gradient-rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 3px solid var(--gradient-header); display: flex; align-items: center; gap: 1rem; font-size: 2rem; font-weight: 800; font-family: var(--font-secondary); } / Dashboard Cards / .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .dashboard-card { background: white; padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-md); border-left: 6px solid; transition: all var(--transition-normal); position: relative; overflow: hidden; } .dashboard-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: inherit; } .dashboard-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); } .card-red { border-color: var(--primary-red); } .card-yellow { border-color: var(--primary-yellow); } .card-blue { border-color: var(--primary-blue); } .card-green { border-color: var(--primary-green); } .card-rose { border-color: var(--primary-rose); } .card-purple { border-color: var(--primary-purple); } .card-khube { border-color: var(--khube-blue); } .stat-number { font-size: 3.5rem; font-weight: 900; margin: 1rem 0; background: var(--gradient-rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-secondary); } / Photo Gallery Styles / .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .gallery-item { position: relative; border-radius: 15px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); transition: all var(--transition-normal); aspect-ratio: 1; } .gallery-item:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-lg); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; } .gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: white; padding: 1rem; transform: translateY(100%); transition: var(--transition-normal); } .gallery-item:hover .gallery-overlay { transform: translateY(0); } / File Upload Styles / .file-upload-zone { border: 3px dashed var(--primary-blue); border-radius: 20px; padding: 3rem; text-align: center; margin: 2rem 0; background: var(--gradient-card); cursor: pointer; transition: all var(--transition-normal); position: relative; } .file-upload-zone:hover { border-color: var(--primary-red); background: rgba(255, 71, 87, 0.05); transform: scale(1.01); } .upload-icon { font-size: 4rem; color: var(--primary-blue); margin-bottom: 1.5rem; animation: bounce 2s infinite; } @Keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } / Student Registration Form / .form-container { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-md); margin: 2rem 0; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-label { display: block; margin-bottom: 0.5rem; color: var(--primary-blue-dark); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; } .form-control { width: 100%; padding: 1rem; border: 2px solid #e0e0e0; border-radius: 12px; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); background: white; } .form-control:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 156, 252, 0.1); } / Table Styles / .data-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 2rem; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-md); } .data-table th { background: var(--gradient-header); color: white; padding: 1.5rem; text-align: left; font-weight: 700; font-family: var(--font-secondary); position: relative; } .data-table th::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(255, 255, 255, 0.3); } .data-table th:last-child::after { display: none; } .data-table td { padding: 1.5rem; border-bottom: 1px solid #f0f0f0; background: white; transition: var(--transition-fast); } .data-table tr:last-child td { border-bottom: none; } .data-table tr:hover td { background: var(--gradient-card); } / Certificate Styles / .certificate-container { background: linear-gradient(135deg, #fff9db 0%, #ffecb3 100%); border: 20px solid var(--primary-yellow); padding: 4rem; margin: 3rem auto; position: relative; box-shadow: var(--shadow-xl); border-radius: 5px; max-width: 1000px; } .certificate-border { position: absolute; border: 2px solid var(--primary-red); top: 20px; left: 20px; right: 20px; bottom: 20px; pointer-events: none; } .certificate-header { text-align: center; margin-bottom: 3rem; position: relative; } .certificate-title { font-size: 3.5rem; color: var(--primary-red); font-weight: 900; font-family: var(--font-cursive); margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); } / Roster Styles / .roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .roster-card { background: white; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); position: relative; overflow: hidden; } .roster-card:hover { border-color: var(--primary-blue); transform: translateY(-5px); box-shadow: var(--shadow-lg); } / Action Buttons / .action-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; } .btn { padding: 0.8rem 1.5rem; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; font-family: var(--font-secondary); transition: all var(--transition-normal); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; } .btn-primary { background: var(--primary-blue); color: white; } .btn-success { background: var(--primary-green); color: white; } .btn-danger { background: var(--primary-red); color: white; } .btn-warning { background: var(--primary-yellow); color: #333; } .btn-rose { background: var(--primary-rose); color: white; } .btn-khube { background: var(--gradient-khube); color: white; } .btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); opacity: 0.9; } / Finance Styles / .finance-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .invoice-table { width: 100%; border-collapse: collapse; margin-top: 1rem; } .invoice-table th, .invoice-table td { padding: 1rem; border: 1px solid var(--gray-200); text-align: left; } .invoice-table th { background: var(--gradient-card); font-weight: 600; } .status-paid { background: var(--primary-green-light); color: var(--primary-green-dark); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } .status-pending { background: var(--primary-yellow-light); color: #b8860b; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } / ===== ENHANCED FOOTER STYLES ===== / footer { background: linear-gradient(135deg, #1A56DB 0%, #FFD32A 50%, #FF4757 100%); color: white; padding: 4rem 0 2rem; margin-top: 4rem; position: relative; overflow: hidden; } footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(135deg, #FF4757 0%, #FFD32A 33%, #1A56DB 66%, #059669 100%); } .social-media-links { display: flex; flex-direction: column; gap: 0.75rem; } .social-link { display: flex; align-items: center; gap: 0.75rem; color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 10px; transition: all var(--transition-normal); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 500; } .social-link:hover { transform: translateX(10px); background: rgba(255, 255, 255, 0.2); } .social-link.youtube { border-left: 4px solid #FF0000; } .social-link.telegram { border-left: 4px solid #0088cc; } .social-link.facebook { border-left: 4px solid #1877F2; } .social-link.twitter { border-left: 4px solid #1DA1F2; } .social-link.tiktok { border-left: 4px solid #000000; } .social-link i { font-size: 1.2rem; width: 24px; text-align: center; } .social-link.youtube i { color: #FF0000; } .social-link.telegram i { color: #0088cc; } .social-link.facebook i { color: #1877F2; } .social-link.twitter i { color: #1DA1F2; } .social-link.tiktok i { color: #000000; } .copyright { text-align: center; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); max-width: 1400px; margin: 3rem auto 0; padding: 2rem 20px 0; background: rgba(0, 0, 0, 0.2); border-radius: 20px 20px 0 0; padding: 2rem; } .copyright p { margin-bottom: 0.5rem; } .copyright strong { color: #FFD32A; font-weight: 800; } / Footer Content / .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1400px; margin: 0 auto; padding: 0 20px; } .footer-section h4 { font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; font-weight: 800; font-family: var(--font-secondary); } .footer-section h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: white; border-radius: 2px; } / Khube Brand / .khube-brand { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); } .khube-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: white; padding: 5px; } .khube-logo img { width: 100%; height: 100%; object-fit: contain; } / Animations / @Keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @Keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } } / Responsive / @media (max-width: 768px) { .container { padding: 0 15px; } .section { padding: 1.5rem; } .tabs-nav { top: 90px; } .tab-btn { padding: 0.8rem 1rem; font-size: 0.85rem; } .form-grid { grid-template-columns: 1fr; } .dashboard-grid { grid-template-columns: 1fr; } .login-container, .registration-container { padding: 2rem; margin: 1rem; } .role-selector { flex-direction: column; } } / Print Styles / @media print { .no-print { display: none !important; } .section { box-shadow: none; border: none; page-break-inside: avoid; } } / Custom Scrollbar / ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 5px; } ::-webkit-scrollbar-thumb { background: var(--gradient-header); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-red); } / Badge Styles / .badge { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; } .badge-red { background: var(--primary-red); color: white; } .badge-yellow { background: var(--primary-yellow); color: #333; } .badge-blue { background: var(--primary-blue); color: white; } .badge-green { background: var(--primary-green); color: white; } .badge-rose { background: var(--primary-rose); color: white; } .badge-purple { background: var(--primary-purple); color: white; } .badge-khube { background: var(--gradient-khube); color: white; } / Loading Spinner / .spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-blue); border-radius: 50%; animation: spin 1s linear infinite; margin: 2rem auto; } @Keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } / Floating Elements / .floating-element { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--gradient-header); opacity: 0.1; animation: floatElement 20s infinite ease-in-out; z-index: -1; } @Keyframes floatElement { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(100px, 50px) rotate(120deg); } 66% { transform: translate(-50px, 100px) rotate(240deg); } } / Student Photo Upload / .student-photo-upload { width: 150px; height: 150px; border-radius: 20px; border: 3px dashed var(--primary-blue); display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; margin: 0 auto 1rem; transition: var(--transition-normal); } .student-photo-upload:hover { border-color: var(--primary-red); transform: scale(1.05); } .student-photo-preview { width: 100%; height: 100%; object-fit: cover; display: none; } / File Type Icons / .file-type-icon { font-size: 3rem; color: var(--primary-blue); margin: 1rem; } .file-type-icon.excel { color: var(--primary-green); } .file-type-icon.word { color: var(--primary-blue); } .file-type-icon.pdf { color: var(--primary-red); } .file-type-icon.image { color: var(--primary-rose); } / Finance Dashboard / .finance-card { background: white; padding: 1.5rem; border-radius: 15px; box-shadow: var(--shadow-md); border-top: 4px solid; text-align: center; } .finance-card h3 { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0.5rem; } .finance-card .amount { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; } .finance-card.today { border-color: var(--primary-green); } .finance-card.month { border-color: var(--primary-blue); } .finance-card.year { border-color: var(--primary-purple); } .finance-card.pending { border-color: var(--primary-yellow); } / Tooltip / .tooltip { position: relative; display: inline-block; } .tooltip .tooltiptext { visibility: hidden; width: 200px; background-color: var(--khube-blue); color: white; text-align: center; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -100px; opacity: 0; transition: opacity 0.3s; font-size: 0.8rem; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } / ===== FINANCE COMMUNICATION SECTION ===== / .finance-communication-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .payment-method-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); text-align: center; } .payment-method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); } .payment-logo { width: 100px; height: 100px; margin: 0 auto 1.5rem; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; } .cbe-logo { background: linear-gradient(135deg, #006400 0%, #228B22 100%); } .telebirr-logo { background: linear-gradient(135deg, #00A859 0%, #00C853 100%); } .cbe-birr-logo { background: linear-gradient(135deg, #800080 0%, #4B0082 100%); } .qr-code-container { margin: 1.5rem auto; padding: 1.5rem; background: white; border-radius: 15px; box-shadow: var(--shadow-md); display: inline-block; } .qr-code { width: 200px; height: 200px; background: #f8f9fa; border-radius: 10px; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gray-600); } / ===== MEDRASA BRAND APP ===== / .brand-app-container { background: linear-gradient(135deg, var(--khube-blue) 0%, var(--khube-green) 100%); border-radius: 25px; padding: 3rem; margin: 2rem 0; color: white; text-align: center; } .app-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .app-feature { background: rgba(255, 255, 255, 0.1); padding: 1.5rem; border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .app-download-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; } .app-download-btn { padding: 1rem 2rem; border-radius: 12px; background: white; color: var(--khube-blue); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 0.75rem; transition: all var(--transition-normal); } .app-download-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .app-screenshot { width: 100%; max-width: 300px; border-radius: 20px; box-shadow: var(--shadow-xl); border: 5px solid white; } / ===== SMS & NOTIFICATION SYSTEM ===== / .sms-system { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 20px; padding: 2rem; margin: 2rem 0; color: white; } .sms-form { display: grid; grid-template-columns: 1fr auto; gap: 1rem; margin-top: 1rem; } .notification-badge { position: absolute; top: -5px; right: -5px; background: var(--primary-red); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; } / ===== REAL-TIME DASHBOARD UPDATES ===== / .real-time-update { animation: pulse 2s infinite; } @Keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } } / ===== MOBILE APP SPECIFIC STYLES ===== / @media (max-width: 768px) { .app-download-buttons { flex-direction: column; align-items: center; } .app-download-btn { width: 100%; max-width: 300px; justify-content: center; } .sms-form { grid-template-columns: 1fr; } } / ===== INSTALL APP BUTTON ===== / .install-app-btn { position: fixed; bottom: 20px; right: 20px; background: var(--gradient-khube); color: white; padding: 1rem 1.5rem; border-radius: 50px; box-shadow: var(--shadow-lg); z-index: 10000; display: flex; align-items: center; gap: 0.75rem; cursor: pointer; animation: bounce 2s infinite; } / ===== PWA OFFLINE INDICATOR ===== / .offline-indicator { position: fixed; top: 0; left: 0; right: 0; background: var(--primary-red); color: white; padding: 0.5rem; text-align: center; z-index: 10001; display: none; } / ===== ADDITIONAL MISSING CSS ===== / .login-link { margin-top: 1.5rem; color: var(--gray-600); font-size: 0.9rem; text-align: center; } .login-link a { color: var(--khube-blue); font-weight: 600; text-decoration: none; cursor: pointer; } @Keyframes fadeOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } } / ===== ATTENDANCE SPECIFIC STYLES ===== / .attendance-forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin: 2rem 0; } .attendance-form-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border-top: 5px solid; transition: all var(--transition-normal); } .attendance-form-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .attendance-form-card.student { border-color: var(--primary-blue); } .attendance-form-card.teacher { border-color: var(--primary-green); } .attendance-form-card.committee { border-color: var(--primary-purple); } .attendance-form-card.staff { border-color: var(--primary-orange); } .attendance-status-badge { padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.25rem; cursor: pointer; transition: all 0.3s; } .status-present { background: var(--primary-green-light); color: var(--primary-green-dark); } .status-absent { background: var(--primary-red-light); color: var(--primary-red-dark); } .status-late { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .status-excused { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .attendance-status-badge.active { transform: scale(1.05); box-shadow: var(--shadow-sm); } .attendance-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .attendance-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .attendance-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } .attendance-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .summary-card { background: white; padding: 1.5rem; border-radius: 15px; text-align: center; box-shadow: var(--shadow-md); border-left: 4px solid; } / ===== ASSIGNMENT UPLOAD STYLES ===== / .assignment-upload-container { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 20px; padding: 2rem; margin: 2rem 0; } .assignment-card { background: white; border-radius: 15px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--primary-blue); transition: all var(--transition-normal); } .assignment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .submission-status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; } .submitted { background: var(--primary-green-light); color: var(--primary-green-dark); } .pending { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .overdue { background: var(--primary-red-light); color: var(--primary-red-dark); } .graded { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .grade-badge { font-size: 1.2rem; font-weight: 800; padding: 0.5rem 1rem; border-radius: 10px; display: inline-block; } .grade-a { background: var(--primary-green); color: white; } .grade-b { background: var(--primary-blue); color: white; } .grade-c { background: var(--primary-yellow); color: #333; } .grade-d { background: var(--primary-orange); color: white; } .grade-f { background: var(--primary-red); color: white; } / ===== FINANCE FORMS STYLES ===== / .finance-forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; } .finance-form-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .finance-form-card:hover { border-color: var(--khube-blue); transform: translateY(-3px); } .payment-link { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; margin: 0.5rem 0; text-decoration: none; color: var(--khube-blue); font-weight: 600; transition: all var(--transition-normal); } .payment-link:hover { background: var(--gradient-khube); color: white; transform: translateX(5px); } .expense-category { padding: 0.5rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; display: inline-block; margin: 0.25rem; } .category-salary { background: var(--primary-rose-light); color: var(--primary-rose-dark); } .category-utilities { background: var(--primary-blue-light); color: var(--primary-blue-dark); } .category-materials { background: var(--primary-green-light); color: var(--primary-green-dark); } .category-maintenance { background: var(--primary-yellow-light); color: var(--primary-yellow-dark); } .category-other { background: var(--primary-purple-light); color: var(--primary-purple); } / ===== FILE UPLOAD ENHANCEMENTS ===== / .file-preview { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--gradient-card); border-radius: 12px; margin: 1rem 0; } .file-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; } .file-icon.pdf { background: var(--primary-red); } .file-icon.word { background: var(--primary-blue); } .file-icon.excel { background: var(--primary-green); } .file-icon.image { background: var(--primary-rose); } .file-icon.other { background: var(--primary-purple); } .upload-progress { height: 5px; background: var(--gray-200); border-radius: 2px; margin: 1rem 0; overflow: hidden; } .progress-bar { height: 100%; background: var(--gradient-khube); transition: width 0.3s; } / ===== ASSESSMENT GRADING STYLES ===== / .grading-rubric { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 15px; padding: 1.5rem; margin: 1.5rem 0; } .rubric-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--gray-200); } .rubric-item:last-child { border-bottom: none; } .grade-input-group { display: flex; align-items: center; gap: 1rem; } .grade-input { width: 80px; text-align: center; font-weight: 700; font-size: 1.2rem; } .feedback-box { min-height: 150px; border: 2px solid var(--gray-200); border-radius: 12px; padding: 1rem; transition: all var(--transition-fast); } .feedback-box:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 156, 252, 0.1); } / ===== PRINT OPTIMIZATIONS ===== / @media print { .attendance-form-card, .finance-form-card, .assignment-card { break-inside: avoid; page-break-inside: avoid; } } / ===== LOADING STATES ===== / .loading { opacity: 0.6; pointer-events: none; position: relative; } .loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; border: 3px solid var(--gray-200); border-top: 3px solid var(--primary-blue); border-radius: 50%; animation: spin 1s linear infinite; transform: translate(-50%, -50%); } / ===== NEW SECTIONS STYLES ===== / .section-placeholder { background: var(--gradient-card); border-radius: 20px; padding: 4rem 2rem; text-align: center; margin: 2rem 0; } .section-placeholder i { font-size: 4rem; color: var(--khube-blue); margin-bottom: 1.5rem; } .section-placeholder h3 { color: var(--khube-blue); margin-bottom: 1rem; } .section-placeholder p { color: var(--gray-600); max-width: 600px; margin: 0 auto; } / Reports Section Styles / .reports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .report-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .report-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); } .report-card h4 { color: var(--khube-blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; } / Grades Section Styles / .grades-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .grades-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .grades-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } .grade-input-small { width: 60px; text-align: center; padding: 0.5rem; border: 1px solid var(--gray-200); border-radius: 5px; } / Assessment Section Styles / .assessment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .assessment-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border-left: 4px solid; } .assessment-card.quiz { border-color: var(--primary-blue); } .assessment-card.exam { border-color: var(--primary-red); } .assessment-card.project { border-color: var(--primary-green); } .assessment-card.homework { border-color: var(--primary-yellow); } / Import/Export Styles / .import-export-options { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; } .import-export-card { flex: 1; min-width: 250px; background: white; border-radius: 15px; padding: 2rem; box-shadow: var(--shadow-md); text-align: center; transition: all var(--transition-normal); } .import-export-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } / Roster Styles / .roster-container { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); margin: 2rem 0; } .roster-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; } .roster-table th { background: var(--gradient-card); padding: 1rem; text-align: left; font-weight: 600; color: var(--khube-blue); } .roster-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); } / Settings Styles / .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .settings-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: all var(--transition-normal); } .settings-card:hover { border-color: var(--khube-blue); } .settings-group { margin-bottom: 1.5rem; } .settings-group label { display: block; margin-bottom: 0.5rem; color: var(--khube-blue); font-weight: 600; } .toggle-switch { position: relative; display: inline-block; width: 60px; height: 30px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 30px; } .toggle-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .toggle-slider { background-color: var(--khube-blue); } input:checked + .toggle-slider:before { transform: translateX(30px); } / Certificate Styles / .certificate-preview { background: linear-gradient(135deg, #fff9db 0%, #ffecb3 100%); border: 15px solid var(--primary-yellow); padding: 3rem; margin: 2rem auto; position: relative; box-shadow: var(--shadow-xl); border-radius: 5px; max-width: 800px; min-height: 500px; } .certificate-preview h3 { text-align: center; color: var(--primary-red); font-family: var(--font-cursive); font-size: 2.5rem; margin-bottom: 2rem; } .certificate-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; } / Gallery Styles / .gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; } .gallery-upload-btn { padding: 0.75rem 1.5rem; background: var(--gradient-khube); color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; transition: all var(--transition-normal); } .gallery-upload-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } / Import/Export Modal */ .import-export-modal { position: f…