* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Arial", sans-serif; background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 50%, #ffffff 100%); color: #2c5530; overflow-x: hidden; } .bg-pattern { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient( circle at 25% 25%, rgba(34, 139, 34, 0.08) 0%, transparent 50% ), radial-gradient( circle at 75% 75%, rgba(46, 125, 50, 0.05) 0%, transparent 50% ); animation: float 20s ease-in-out infinite; z-index: -1; } .floating-images { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -2; overflow: hidden; } .floating-image { position: absolute; opacity: 0.3; border-radius: 12px; animation: floatMove 15s ease-in-out infinite; box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.3); border: 2px solid rgba(76, 175, 80, 0.2); transition: all 0.3s ease; backdrop-filter: blur(1px); object-fit: cover; } .floating-image:nth-child(1) { top: 10%; left: 5%; width: 150px; height: 100px; animation-delay: 0s; animation-duration: 20s; opacity: 0.35; } .floating-image:nth-child(2) { top: 20%; right: 10%; width: 130px; height: 130px; animation-delay: -2s; animation-duration: 18s; opacity: 0.25; } .floating-image:nth-child(3) { top: 50%; left: 3%; width: 170px; height: 110px; animation-delay: -4s; animation-duration: 22s; opacity: 0.4; } .floating-image:nth-child(4) { top: 60%; right: 5%; width: 140px; height: 140px; animation-delay: -6s; animation-duration: 16s; opacity: 0.3; } .floating-image:nth-child(5) { top: 80%; left: 15%; width: 160px; height: 105px; animation-delay: -8s; animation-duration: 24s; opacity: 0.28; } .floating-image:nth-child(6) { top: 35%; right: 25%; width: 125px; height: 125px; animation-delay: -10s; animation-duration: 19s; opacity: 0.32; } .floating-image:nth-child(7) { top: 75%; right: 30%; width: 155px; height: 95px; animation-delay: -12s; animation-duration: 21s; opacity: 0.37; } .floating-image:nth-child(8) { top: 25%; left: 30%; width: 135px; height: 135px; animation-delay: -14s; animation-duration: 17s; opacity: 0.26; } @keyframes floatMove { 0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg) scale(1); filter: brightness(1) blur(0px); } 25% { transform: translateY(-25px) translateX(15px) rotate(2deg) scale(1.08); filter: brightness(1.1) blur(0.5px); } 50% { transform: translateY(-15px) translateX(-20px) rotate(-2deg) scale(0.92); filter: brightness(0.9) blur(0.3px); } 75% { transform: translateY(-30px) translateX(8px) rotate(1deg) scale(1.05); filter: brightness(1.05) blur(0.2px); } } .floating-image:hover { opacity: 0.7; transform: scale(1.15); transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.5); border-color: rgba(76, 175, 80, 0.5); filter: brightness(1.2) saturate(1.1); z-index: 1; } /* Animasi berkedip lembut untuk beberapa gambar */ .floating-image:nth-child(2n) { animation: floatMove 15s ease-in-out infinite, subtleBlink 8s ease-in-out infinite; } @keyframes subtleBlink { 0%, 100% { opacity: inherit; } 25% { opacity: calc(var(--base-opacity, 0.3) * 0.7); } 50% { opacity: calc(var(--base-opacity, 0.3) * 1.2); } 75% { opacity: calc(var(--base-opacity, 0.3) * 0.8); } } nav { position: fixed; top: 0; width: 100%; backdrop-filter: blur(15px); background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid rgba(34, 139, 34, 0.2); box-shadow: 0 2px 20px rgba(34, 139, 34, 0.1); z-index: 1000; transition: all 0.3s ease; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: bold; color: #2e7d32; } .logo img { margin-right: 0.5rem; height: 40px; width: auto; } .nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; } .nav-links a { color: #2c5530; text-decoration: none; transition: all 0.3s ease; position: relative; font-weight: 500; } .nav-links a:hover { color: #2e7d32; transform: translateY(-2px); } .nav-links a::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: linear-gradient(45deg, #4caf50, #2e7d32); transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; } .auth-buttons { display: flex; gap: 1rem; align-items: center; } .auth-buttons.hidden { display: none; } .auth-btn { padding: 0.6rem 1.2rem; border-radius: 25px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; font-size: 0.95rem; } .auth-btn.login { color: #4caf50; border: 2px solid #4caf50; background: transparent; } .auth-btn.login:hover { background: #4caf50; color: white; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3); } .auth-btn.register { background: linear-gradient(135deg, #4caf50, #66bb6a); color: white; border: none; } .auth-btn.register:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3); } .profile-section { position: relative; display: none; align-items: center; gap: 1rem; } .profile-section.active { display: flex; } .notification-bell { position: relative; cursor: pointer; padding: 0.5rem; color: #2c5530; transition: all 0.3s ease; } .notification-bell:hover { color: #4caf50; } .notification-badge { position: absolute; top: 0; right: 0; width: 10px; height: 10px; background: #f44336; border-radius: 50%; border: 2px solid white; } .profile-button { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 1rem; background: rgba(76, 175, 80, 0.1); border: 2px solid rgba(76, 175, 80, 0.2); border-radius: 30px; cursor: pointer; transition: all 0.3s ease; position: relative; } .profile-button:hover { background: rgba(76, 175, 80, 0.2); border-color: #4caf50; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2); } .profile-avatar { width: 35px; height: 35px; border-radius: 50%; background: linear-gradient(135deg, #4caf50, #66bb6a); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1rem; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); } .profile-name { font-weight: 600; color: #2c5530; font-size: 0.95rem; } .profile-arrow { color: #4caf50; transition: transform 0.3s ease; } .profile-button.active .profile-arrow { transform: rotate(180deg); } @media (max-width: 768px) { .profile-name { display: none; } .profile-button { padding: 0.5rem; gap: 0.5rem; } .profile-arrow { margin-left: 0.3rem; } } .profile-dropdown { position: absolute; top: calc(100% + 10px); right: 0; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); min-width: 250px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1001; overflow: hidden; } .profile-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); } .dropdown-header { padding: 1.2rem; background: linear-gradient(135deg, #4caf50, #66bb6a); color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .dropdown-header .user-info { display: flex; align-items: center; gap: 1rem; } .dropdown-header .user-avatar { width: 50px; height: 50px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; color: #4caf50; font-weight: bold; font-size: 1.2rem; } .dropdown-header .user-details h4 { margin: 0; font-size: 1rem; font-weight: 600; } .dropdown-header .user-details p { margin: 0.2rem 0 0 0; font-size: 0.85rem; opacity: 0.9; } .dropdown-menu { padding: 0.5rem 0; } .dropdown-item { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.2rem; color: #2c5530; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-size: 0.95rem; } .dropdown-item:hover { background: rgba(76, 175, 80, 0.1); color: #2e7d32; padding-left: 1.5rem; } .dropdown-item i { width: 20px; color: #4caf50; } .dropdown-divider { height: 1px; background: rgba(76, 175, 80, 0.2); margin: 0.5rem 0; } .dropdown-item.danger { color: #f44336; } .dropdown-item.danger:hover { background: rgba(244, 67, 54, 0.1); color: #d32f2f; } .dropdown-item.danger i { color: #f44336; } .mobile-menu-toggle { display: none; background: none; border: none; color: #2c5530; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; } .hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; } .hero-content { max-width: 800px; z-index: 2; } .hero h1 { font-size: 3.5rem; margin-bottom: 1rem; background: linear-gradient(45deg, #2e7d32, #4caf50, #66bb6a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shine 3s ease-in-out infinite; } @keyframes shine { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2); } } .hero h2 { font-size: 1.8rem; margin-bottom: 2rem; color: #2e7d32; } .hero p { font-size: 1.2rem; margin-bottom: 3rem; color: #2c5530; line-height: 1.6; } .cta-buttons { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; } .cta-button { display: inline-block; padding: 1rem 2.5rem; background: linear-gradient(45deg, #4caf50, #66bb6a); color: white; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3); min-width: 180px; text-align: center; position: relative; z-index: 100; cursor: pointer; border: none; } .cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4); scale: 1.05; background: linear-gradient(45deg, #2e7d32, #4caf50); } .cta-secondary { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.3); color: #2c5530; } .cta-secondary:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); color: #1b5e20; } .islamic-pattern { position: absolute; top: 50%; left: -100px; transform: translateY(-50%); font-size: 20rem; color: rgba(76, 175, 80, 0.08); animation: rotate 30s linear infinite; } @keyframes rotate { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } } .jenjang { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; } .section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #2e7d32; } .jenjang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .jenjang-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 20px; padding: 2rem; text-align: center; transition: all 0.3s ease; border: 1px solid rgba(76, 175, 80, 0.2); box-shadow: 0 8px 32px rgba(76, 175, 80, 0.1); position: relative; overflow: hidden; } .jenjang-card::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient( from 0deg, transparent, rgba(76, 175, 80, 0.1), transparent ); animation: spin 4s linear infinite; opacity: 0; transition: opacity 0.3s ease; } .jenjang-card:hover::before { opacity: 1; } .jenjang-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15); border-color: #4caf50; } @keyframes spin { to { transform: rotate(360deg); } } .jenjang-card i { font-size: 3rem; color: #4caf50; margin-bottom: 1rem; position: relative; z-index: 2; } .jenjang-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #2e7d32; position: relative; z-index: 2; } .jenjang-card p { color: #2c5530; line-height: 1.6; position: relative; z-index: 2; } .features { background: rgba(248, 255, 254, 0.8); padding: 5rem 2rem; margin: 3rem 0; border-top: 1px solid rgba(76, 175, 80, 0.1); border-bottom: 1px solid rgba(76, 175, 80, 0.1); } .features-container { max-width: 1200px; margin: 0 auto; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .feature-item { text-align: center; padding: 2rem; transition: all 0.3s ease; background: rgba(255, 255, 255, 0.7); border-radius: 15px; border: 1px solid rgba(76, 175, 80, 0.1); } .feature-item:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1); } .feature-item i { font-size: 2.5rem; color: #4caf50; margin-bottom: 1rem; animation: pulse 2s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .feature-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #2e7d32; } .contact { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; } .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; } .contact-info { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 15px; padding: 2rem; border: 1px solid rgba(76, 175, 80, 0.2); box-shadow: 0 8px 32px rgba(76, 175, 80, 0.1); } .contact-item { display: flex; align-items: center; margin-bottom: 1.5rem; transition: all 0.3s ease; color: #2c5530; } .contact-item:hover { transform: translateX(10px); color: #2e7d32; } .contact-item i { font-size: 1.5rem; margin-right: 1rem; color: #4caf50; width: 30px; } footer { background: rgba(76, 175, 80, 0.1); text-align: center; padding: 2rem; border-top: 1px solid rgba(76, 175, 80, 0.2); color: #2c5530; } .footer-content { max-width: 1200px; margin: 0 auto; } .social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; } .social-links a { display: inline-block; width: 50px; height: 50px; background: rgba(76, 175, 80, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4caf50; text-decoration: none; transition: all 0.3s ease; } .social-links a:hover { background: #4caf50; color: white; transform: translateY(-5px); } @keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(-20px, -20px) rotate(1deg); } 66% { transform: translate(20px, -10px) rotate(-1deg); } } .chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 1001; } .chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(45deg, #4caf50, #66bb6a); border: none; color: white; font-size: 24px; cursor: pointer; box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4); transition: all 0.3s ease; animation: pulse 2s ease-in-out infinite; position: relative; z-index: 1002; pointer-events: auto; } .chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6); } .chat-container { position: absolute; bottom: 80px; right: 0; width: 350px; height: 500px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transform: scale(0) translateY(20px); transform-origin: bottom right; transition: all 0.3s ease; opacity: 0; overflow: hidden; } .chat-container.active { transform: scale(1) translateY(0); opacity: 1; } .chat-header { background: linear-gradient(45deg, #4caf50, #66bb6a); color: white; padding: 15px; font-weight: bold; display: flex; align-items: center; gap: 10px; } .chat-header .status { width: 8px; height: 8px; background: #81c784; border-radius: 50%; animation: blink 1.5s ease-in-out infinite; } @keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.3; } } .chat-body { height: 350px; overflow-y: auto; padding: 15px; background: #f8f9fa; } .chat-message { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; } .chat-message.user { flex-direction: row-reverse; } .message-avatar { width: 32px; height: 32px; border-radius: 50%; background: #4caf50; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; flex-shrink: 0; } .user .message-avatar { background: #2196f3; } .message-bubble { max-width: 75%; padding: 10px 15px; border-radius: 15px; background: white; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); font-size: 14px; line-height: 1.4; } .user .message-bubble { background: #2196f3; color: white; } .quick-replies { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; } .quick-reply { background: rgba(76, 175, 80, 0.1); border: 1px solid #4caf50; color: #2e7d32; padding: 5px 10px; border-radius: 15px; font-size: 12px; cursor: pointer; transition: all 0.3s ease; } .quick-reply:hover { background: #4caf50; color: white; } .chat-input { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; } .chat-input input { flex: 1; padding: 10px 15px; border: 1px solid #ddd; border-radius: 25px; outline: none; font-size: 14px; } .chat-input input:focus { border-color: #4caf50; } .send-button { width: 40px; height: 40px; border-radius: 50%; background: #4caf50; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .send-button:hover { background: #388e3c; transform: scale(1.1); } .typing-indicator { display: flex; align-items: center; gap: 5px; padding: 10px 15px; background: white; border-radius: 15px; margin-bottom: 15px; } .typing-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; animation: typing 1.4s ease-in-out infinite; } .typing-dot:nth-child(1) { animation-delay: 0s; } .typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-10px); opacity: 1; } } @media (max-width: 768px) { .nav-links { display: none; } .mobile-menu-toggle { display: block; } .auth-buttons { gap: 0.5rem; } .auth-btn { padding: 0.5rem 1rem; font-size: 0.9rem; } .auth-btn.login span, .auth-btn.register span { display: none; } .auth-btn.login::after { content: "Masuk"; } .auth-btn.register::after { content: "Daftar"; } .profile-section { margin-left: auto; margin-right: 0.5rem; gap: 0.5rem; } .notification-bell { padding: 0.3rem; } .profile-button { padding: 0.4rem; border-radius: 50%; min-width: auto; } .profile-avatar { width: 38px; height: 38px; } .profile-dropdown { right: -10px; min-width: 220px; } .hero h1 { font-size: 2.5rem; } .hero h2 { font-size: 1.5rem; } .islamic-pattern { font-size: 10rem; } .jenjang-grid { grid-template-columns: 1fr; } .floating-images { display: none; } .cta-buttons { flex-direction: column; gap: 0.8rem; } .cta-button { min-width: auto; width: 100%; max-width: 280px; } .chat-container { width: 300px; height: 450px; } .chat-body { height: 300px; } } @media (max-width: 480px) { .nav-container { padding: 0.8rem 1rem; } .logo { font-size: 1.2rem; } .logo img { height: 35px; } .profile-avatar { width: 35px; height: 35px; font-size: 0.9rem; } .profile-dropdown { width: calc(100vw - 40px); max-width: 280px; } } .fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; } .fade-in.visible { opacity: 1; transform: translateY(0); } .welcome-toast { position: fixed; top: 80px; right: 20px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); padding: 1.2rem 1.5rem; display: flex; align-items: center; gap: 1rem; z-index: 1000; transform: translateX(400px); transition: transform 0.5s ease; max-width: 350px; border-left: 4px solid #4caf50; } .welcome-toast.show { transform: translateX(0); } .welcome-toast i { font-size: 1.5rem; color: #4caf50; } .welcome-toast-content h4 { margin: 0 0 0.3rem 0; color: #2e7d32; font-size: 1rem; } .welcome-toast-content p { margin: 0; color: #666; font-size: 0.9rem; } .welcome-toast-close { position: absolute; top: 10px; right: 10px; background: none; border: none; color: #999; cursor: pointer; font-size: 1.2rem; } .welcome-toast-close:hover { color: #333; } .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; background: rgba(0, 0, 0, 0.5); } .modal.active { display: flex; align-items: center; justify-content: center; } .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); } .registration-container { position: relative; background: white; border-radius: 25px; max-width: 1000px; width: 90%; max-height: 90vh; overflow-y: auto; z-index: 1; animation: modalSlideIn 0.5s ease; } .modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, 0.9); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.3s; } .modal-close-btn:hover { background: white; transform: rotate(90deg); } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } .jenjang-notification { position: fixed; top: 20px; right: 20px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border-left: 5px solid #4caf50; z-index: 10001; transform: translateX(400px); transition: all 0.3s ease; max-width: 400px; pointer-events: none; } .jenjang-notification.show { transform: translateX(0); pointer-events: auto; } @keyframes slideIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } } .header { background: linear-gradient(135deg, #4caf50, #2e7d32); color: white; padding: 2rem; text-align: center; } .header h1 { font-size: 2rem; margin-bottom: 0.5rem; } .header p { opacity: 0.9; font-size: 1.1rem; } .step-indicator { display: flex; justify-content: center; padding: 2rem; background: #f8f9fa; position: relative; } .step { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; } .step-circle { width: 50px; height: 50px; border-radius: 50%; background: #e0e0e0; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; transition: all 0.3s; z-index: 2; } .step.active .step-circle { background: linear-gradient(135deg, #4caf50, #2e7d32); transform: scale(1.1); box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); } .step.completed .step-circle { background: #4caf50; } .step-label { margin-top: 0.5rem; font-size: 0.9rem; color: #666; text-align: center; } .step.active .step-label { color: #4caf50; font-weight: 600; } .step:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 50%; width: 100%; height: 2px; background: #e0e0e0; z-index: 1; } .step.completed:not(:last-child)::after { background: #4caf50; } .content { padding: 2rem; min-height: 400px; } .step-content { display: none; animation: fadeIn 0.5s; } .step-content.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .jenjang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .jenjang-card { border: 2px solid #e0e0e0; border-radius: 15px; padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.3s; background: white; } .jenjang-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-color: #4caf50; } .jenjang-card.selected { background: linear-gradient(135deg, #4caf50, #45a049); color: white; border-color: #4caf50; transform: scale(1.05); } .jenjang-icon { font-size: 3rem; margin-bottom: 1rem; } .jenjang-card.selected .jenjang-icon { animation: bounce 0.5s; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .upload-section { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); transition: all 0.3s; } .upload-section:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); } .upload-header { background: linear-gradient(135deg, #4caf50, #45a049); color: white; padding: 1rem; text-align: center; position: relative; } .upload-header.ocr-enabled::after { content: "AI OCR"; position: absolute; top: 10px; right: 15px; background: rgba(255, 255, 255, 0.2); padding: 3px 8px; border-radius: 10px; font-size: 10px; font-weight: bold; } .upload-header.ai-enhanced { position: relative; background: linear-gradient(135deg, #2196f3, #1976d2); } .face-detection-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 10000; overflow-y: auto; padding: 20px 0; } .face-detection-modal.active { display: flex; align-items: flex-start; justify-content: center; animation: modalFade 0.3s ease; } @keyframes modalFade { from { opacity: 0; } to { opacity: 1; } } .face-modal-content { background: #ffffff; border-radius: 20px; max-width: 900px; width: 95%; margin: 20px auto; max-height: calc(100vh - 40px); overflow: visible; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); animation: modalSlide 0.4s ease; position: relative; display: flex; flex-direction: column; } @keyframes modalSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .face-modal-header { background: linear-gradient(135deg, #4caf50, #45a049); padding: 1.75rem; text-align: center; color: white; position: relative; border-radius: 20px 20px 0 0; flex-shrink: 0; } .face-modal-header::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.2); } .face-modal-header h2 { font-size: 1.3rem; margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 500; letter-spacing: 0.5px; } .face-modal-header h2 i { font-size: 1.2rem; opacity: 0.9; } .face-modal-header p { font-size: 0.85rem; opacity: 0.9; font-weight: 300; } .face-modal-body { padding: 2rem; background: #fafafa; overflow-y: auto; flex: 1; max-height: calc(100vh - 280px); } .face-processing { text-align: center; padding: 2rem 1rem; display: none; } .face-processing.active { display: block; } .face-scanner { width: 120px; height: 120px; margin: 0 auto 2rem; position: relative; } .scanner-circle { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } .scanner-circle::before { content: ""; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #e8f5e9; } .scanner-circle::after { content: ""; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid transparent; border-top-color: #4caf50; animation: rotate 2s linear infinite; } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .scanner-face-icon { position: relative; z-index: 2; width: 50px; height: 50px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4caf50; font-size: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .scanner-line { position: absolute; width: 100%; height: 1px; background: linear-gradient( 90deg, transparent, rgba(76, 175, 80, 0.5), transparent ); top: 50%; left: 0; animation: scanLine 3s ease-in-out infinite; } @keyframes scanLine { 0%, 100% { transform: translateY(-60px); opacity: 0; } 15%, 85% { opacity: 1; } 50% { transform: translateY(60px); opacity: 1; } } .face-processing h3 { color: #2e7d32; font-size: 1.2rem; font-weight: 500; margin-bottom: 0.5rem; } .face-processing p { color: #666; font-size: 0.9rem; font-weight: 300; } .processing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; } .process-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.75rem 0.5rem; background: white; border-radius: 10px; transition: all 0.3s ease; border: 1px solid #e0e0e0; } .process-step.active { background: #e8f5e9; border-color: #4caf50; transform: translateY(-2px); } .process-step.completed { background: #f1f8e9; border-color: #689f38; } .step-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; transition: all 0.3s ease; font-size: 1rem; } .process-step.active .step-icon { background: #4caf50; color: white; } .process-step.completed .step-icon { background: #689f38; color: white; } .step-text { font-size: 0.7rem; color: #666; text-align: center; font-weight: 400; } .process-step.active .step-text { color: #2e7d32; font-weight: 500; } .process-step.completed .step-text { color: #33691e; } .face-analysis-results { display: none; } .face-analysis-results.active { display: block; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .preview-container { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; } .preview-box { text-align: center; } .preview-label { font-size: 0.8rem; color: #666; margin-bottom: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .preview-image { width: 100%; max-width: 180px; height: 240px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); border: 1px solid #e0e0e0; margin: 0 auto; transition: all 0.3s ease; } .preview-image:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); } .preview-image.after { border: 2px solid #4caf50; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15); } .quality-indicators { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.75rem; flex-wrap: wrap; } .quality-badge { display: flex; align-items: center; gap: 0.2rem; padding: 0.2rem 0.6rem; background: white; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 0.7rem; font-weight: 500; color: #666; } .quality-badge.good { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; } .result-message { background: #e8f5e9; border: 1px solid #4caf50; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; text-align: center; } .result-message h4 { color: #2e7d32; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .result-message p { color: #33691e; font-size: 0.8rem; margin: 0; } .face-modal-actions { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; background: white; border-top: 1px solid #e0e0e0; border-radius: 0 0 20px 20px; flex-shrink: 0; } .btn-modal { flex: 1; padding: 0.75rem 1rem; border: 1px solid transparent; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 0.4rem; } .btn-modal-secondary { background: white; color: #666; border-color: #e0e0e0; } .btn-modal-secondary:hover { background: #f5f5f5; border-color: #d0d0d0; } .btn-modal-primary { background: #4caf50; color: white; border-color: #4caf50; } .btn-modal-primary:hover { background: #45a049; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); } .btn-modal-primary:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; transform: none; } @media (max-width: 640px) { .face-modal-content { width: 100%; margin: 10px; max-height: calc(100vh - 20px); } .face-modal-body { padding: 1.5rem 1rem; max-height: calc(100vh - 250px); } .processing-steps { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } .preview-container { grid-template-columns: 1fr; gap: 1rem; } .preview-image { max-width: 150px; height: 200px; } .face-modal-actions { flex-direction: column; padding: 1rem; } .btn-modal { width: 100%; } } .processing-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; position: relative; } .processing-steps::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: linear-gradient( 90deg, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent ); z-index: 0; } .process-step { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem 1rem; background: white; border-radius: 20px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 1; border: 2px solid transparent; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); } .process-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 20px; background: linear-gradient( 135deg, rgba(103, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100% ); opacity: 0; transition: opacity 0.4s ease; z-index: -1; } .process-step.active { transform: translateY(-8px) scale(1.05); border-color: #667eea; box-shadow: 0 10px 30px rgba(103, 126, 234, 0.2), 0 0 0 1px rgba(103, 126, 234, 0.1); } .process-step.active::before { opacity: 1; } .process-step.completed { border-color: #4caf50; background: linear-gradient( 135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.02) 100% ); } .step-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8f9fa, #e9ecef); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-size: 1.5rem; position: relative; overflow: hidden; } .step-icon::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); transform: translate(-50%, -50%); transition: all 0.4s ease; } .process-step.active .step-icon { background: linear-gradient(135deg, #667eea, #764ba2); color: white; transform: scale(1.1); box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3); animation: iconPulse 1.5s ease-in-out infinite; } .process-step.active .step-icon::before { width: 100%; height: 100%; } @keyframes iconPulse { 0%, 100% { transform: scale(1.1); box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3); } 50% { transform: scale(1.2); box-shadow: 0 12px 35px rgba(103, 126, 234, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3); } } .process-step.completed .step-icon { background: linear-gradient(135deg, #4caf50, #45a049); color: white; animation: checkmarkPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } @keyframes checkmarkPop { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .step-text { font-size: 0.9rem; color: #6c757d; transition: all 0.3s ease; text-align: center; font-weight: 500; } .process-step.active .step-text { color: #667eea; font-weight: 600; } .process-step.completed .step-text { color: #4caf50; font-weight: 600; } .face-analysis-results { display: none; animation: fadeInUp 0.6s ease; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .face-analysis-results.active { display: block; } .face-metrics { background: linear-gradient( 135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100% ); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 24px; padding: 2rem; margin-bottom: 2rem; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), inset 0 1px 2px rgba(255, 255, 255, 1); position: relative; overflow: hidden; } .face-metrics::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient( 90deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100% ); animation: rainbowSlide 5s linear infinite; } @keyframes rainbowSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .metrics-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; } .metric-item { background: linear-gradient( 135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100% ); padding: 1.5rem; border-radius: 18px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(255, 255, 255, 1); border: 1px solid rgba(255, 255, 255, 0.8); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .metric-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 135deg, rgba(103, 126, 234, 0.05) 0%, transparent 100% ); opacity: 0; transition: opacity 0.3s ease; } .metric-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 1); } .metric-item:hover::before { opacity: 1; } .metric-label { color: #6c757d; font-size: 0.85rem; margin-bottom: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .metric-value { font-size: 1.5rem; font-weight: 700; color: #2d3436; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; } .metric-status { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #4caf50, #45a049); position: relative; animation: statusPulse 2s ease-in-out infinite; } @keyframes statusPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); } 50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); } } .metric-status.warning { background: linear-gradient(135deg, #ff9800, #f57c00); } .metric-status.error { background: linear-gradient(135deg, #f44336, #e53935); } .metric-bar { width: 100%; height: 8px; background: linear-gradient(135deg, #f8f9fa, #e9ecef); border-radius: 10px; overflow: hidden; position: relative; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .metric-fill { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 10px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .metric-fill::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent ); animation: shimmerBar 2s linear infinite; } @keyframes shimmerBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .preview-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; } .preview-box { text-align: center; position: relative; } .preview-label { font-size: 1rem; color: #495057; margin-bottom: 1.5rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .preview-image { width: 100%; max-width: 240px; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); border: 4px solid #f8f9fa; margin: 0 auto; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .preview-image:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); } .preview-image.after { border: 4px solid transparent; background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #667eea, #764ba2) border-box; position: relative; animation: glow 3s ease-in-out infinite; } @keyframes glow { 0%, 100% { box-shadow: 0 10px 40px rgba(103, 126, 234, 0.3), 0 0 0 0 rgba(103, 126, 234, 0.2); } 50% { box-shadow: 0 15px 50px rgba(103, 126, 234, 0.4), 0 0 30px 5px rgba(103, 126, 234, 0.15); } } .quality-indicators { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; } .quality-badge { display: flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.8rem; background: #f0f0f0; border-radius: 20px; font-size: 0.85rem; } .quality-badge.good { background: rgba(76, 175, 80, 0.2); color: #2e7d32; } .quality-badge.warning { background: rgba(255, 152, 0, 0.2); color: #ef6c00; } .quality-badge.error { background: rgba(244, 67, 54, 0.2); color: #c62828; } .face-modal-actions { display: flex; gap: 1rem; margin-top: 2rem; padding: 0 2rem 2rem; } .btn-modal { flex: 1; padding: 1rem; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .btn-modal-secondary { background: #f0f0f0; color: #666; } .btn-modal-secondary:hover { background: #e0e0e0; } .btn-modal-primary { background: linear-gradient(135deg, #2196f3, #1976d2); color: white; box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3); } .btn-modal-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4); } .btn-modal-primary:disabled { background: #ccc; cursor: not-allowed; transform: none; } .upload-zone { border: 3px dashed #4caf50; border-radius: 0 0 15px 15px; padding: 2rem; text-align: center; background: rgba(76, 175, 80, 0.05); transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: center; align-items: center; } .upload-zone:hover { background: rgba(76, 175, 80, 0.1); border-color: #2e7d32; } .upload-zone.dragover { background: rgba(76, 175, 80, 0.2); border-style: solid; transform: scale(1.02); } .upload-zone.uploaded { border-style: solid; background: rgba(76, 175, 80, 0.1); border-color: #4caf50; } .upload-zone.face-validated { border-color: #2196f3; background: rgba(33, 150, 243, 0.1); } .upload-icon { font-size: 3rem; color: #4caf50; margin-bottom: 1rem; position: relative; } .upload-zone.face-validated .upload-icon { color: #2196f3; } @keyframes faceDetect { 0% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.1) rotate(5deg); } 50% { transform: scale(1) rotate(0deg); } 75% { transform: scale(1.1) rotate(-5deg); } 100% { transform: scale(1) rotate(0deg); } } .face-analyzing { animation: faceDetect 2s ease-in-out infinite; } .upload-input { display: none; } .file-info { margin-top: 1rem; padding: 1rem; background: white; border-radius: 10px; display: none; text-align: left; } .upload-zone.uploaded .file-info { display: block; } .file-preview { max-width: 100%; max-height: 150px; border-radius: 8px; margin-top: 0.5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .face-status-mini { margin-top: 1rem; padding: 1rem; background: rgba(33, 150, 243, 0.1); border-radius: 10px; display: none; } .upload-zone.face-validated .face-status-mini { display: block; } .face-status-title { font-size: 0.9rem; color: #1976d2; font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; } .face-mini-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } .mini-metric { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.5rem; background: white; border-radius: 6px; font-size: 0.85rem; } .mini-metric-icon { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; } .mini-metric-icon.success { background: #4caf50; color: white; } .mini-metric-icon.warning { background: #ff9800; color: white; } .mini-metric-icon.error { background: #f44336; color: white; } .ocr-processing { display: none; text-align: center; padding: 2rem; background: rgba(33, 150, 243, 0.05); margin: 1rem; border-radius: 15px; border: 2px dashed #2196f3; } .ocr-processing.active { display: block; } .processing-spinner { width: 60px; height: 60px; border: 4px solid #f3f3f3; border-top: 4px solid #4caf50; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .upload-progress { margin-top: 1rem; padding: 1rem; background: rgba(76, 175, 80, 0.1); border-radius: 10px; border: 1px solid rgba(76, 175, 80, 0.3); } .progress-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; } .progress-item:last-child { margin-bottom: 0; } .progress-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; } .progress-icon.pending { background: #e0e0e0; color: #666; } .progress-icon.completed { background: #4caf50; color: white; } .progress-icon.required { background: #f44336; color: white; } .family-members { display: grid; gap: 1rem; margin-top: 2rem; max-height: 500px; overflow-y: auto; padding: 1rem; } .member-card { border: 2px solid #e0e0e0; border-radius: 15px; padding: 1.5rem; cursor: pointer; transition: all 0.3s; background: white; position: relative; overflow: hidden; } .member-card::before { content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: #e0e0e0; transition: all 0.3s; } .member-card:hover { box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); transform: translateX(5px); } .member-card:hover::before { width: 10px; background: #4caf50; } .member-card.selected { background: linear-gradient( 135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1) ); border-color: #4caf50; box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3); } .member-card.selected::before { width: 100%; background: linear-gradient(135deg, #4caf50, #2e7d32); opacity: 0.1; } .member-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .member-name { font-size: 1.3rem; font-weight: bold; color: #333; } .member-status { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; } .status-anak { background: linear-gradient(135deg, #4caf50, #45a049); color: white; } .status-kepala { background: linear-gradient(135deg, #2196f3, #1976d2); color: white; } .status-istri { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); color: white; } .member-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; } .detail-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; background: #f8f9fa; border-radius: 8px; } .detail-icon { color: #4caf50; width: 20px; } .detail-label { font-size: 0.85rem; color: #666; } .detail-value { font-weight: 600; color: #333; margin-left: 0.3rem; } .member-select-indicator { position: absolute; top: 1rem; right: 1rem; width: 30px; height: 30px; border-radius: 50%; background: #e0e0e0; display: flex; align-items: center; justify-content: center; transition: all 0.3s; } .member-card.selected .member-select-indicator { background: linear-gradient(135deg, #4caf50, #45a049); animation: scaleIn 0.3s; } @keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } } .member-card.selected .member-select-indicator::after { content: "✔"; color: white; font-weight: bold; } .navigation { display: flex; justify-content: space-between; padding: 2rem; background: #f8f9fa; border-top: 1px solid #e0e0e0; } .nav-btn { padding: 0.75rem 2rem; border: none; border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 0.5rem; } .nav-btn.prev { background: #e0e0e0; color: #666; } .nav-btn.prev:hover { background: #d0d0d0; } .nav-btn.next { background: linear-gradient(135deg, #4caf50, #45a049); color: white; } .nav-btn.next:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4); } .nav-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .alert { padding: 1rem 1.5rem; border-radius: 10px; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; animation: slideDown 0.3s; } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .alert.success { background: rgba(76, 175, 80, 0.1); color: #2e7d32; border: 1px solid rgba(76, 175, 80, 0.3); } .alert.error { background: rgba(244, 67, 54, 0.1); color: #c62828; border: 1px solid rgba(244, 67, 54, 0.3); } .alert.info { background: rgba(33, 150, 243, 0.1); color: #1565c0; border: 1px solid rgba(33, 150, 243, 0.3); } .alert.warning { background: rgba(255, 152, 0, 0.1); color: #ef6c00; border: 1px solid rgba(255, 152, 0, 0.3); } @keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } } input:invalid { border-color: #f44336 !important; } input:valid { border-color: #4caf50 !important; } .file-type-indicator { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, 0.9); padding: 5px 10px; border-radius: 15px; font-size: 11px; font-weight: bold; color: #666; } .file-type-indicator.kk { background: linear-gradient(135deg, #4caf50, #45a049); color: white; } .file-type-indicator.photo { background: linear-gradient(135deg, #2196f3, #1976d2); color: white; } .file-type-indicator.certificate { background: linear-gradient(135deg, #ff9800, #f57c00); color: white; } @media (max-width: 768px) { .jenjang-grid { grid-template-columns: 1fr; } .upload-grid { grid-template-columns: 1fr; } .member-details { grid-template-columns: 1fr; } .step-label { font-size: 0.75rem; } .navigation { flex-direction: column; gap: 1rem; } .nav-btn { width: 100%; justify-content: center; } .preview-container { grid-template-columns: 1fr; } .metrics-grid { grid-template-columns: 1fr; } }