.page-container{max-width:1200px;margin:0 auto;padding:2rem}.home-page h2{text-align:center;color:#333;margin-bottom:2rem}.subject-tabs{border-bottom:2px solid #eee;justify-content:center;gap:1rem;margin-bottom:3rem;padding-bottom:1rem;display:flex}.tab-btn{color:#888;cursor:pointer;background:0 0;border:none;border-radius:20px;padding:.5rem 1.5rem;font-size:1.1rem;font-weight:700;transition:all .3s}.tab-btn:hover{color:#555;background:#f5f5f5}.tab-btn.active{color:#fff;background:#ff784f}.chapter-section{margin-bottom:3rem}.chapter-title{color:#444;border-left:5px solid #ff784f;margin-bottom:1.5rem;padding-left:1rem;font-size:1.5rem}.video-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;display:grid}.video-card{color:inherit;background:#fff;border-radius:10px;flex-direction:column;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 4px 15px #0000000d}.video-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #0000001a}.video-thumbnail{background:#2a2a2a;justify-content:center;align-items:center;height:160px;display:flex;position:relative}.play-icon{color:#fff;opacity:.8;font-size:3rem;transition:opacity .2s}.video-card:hover .play-icon{opacity:1}.video-info{flex-grow:1;padding:1rem}.video-info h4{color:#333;margin:0;font-size:1rem;line-height:1.4}.login-container{background-color:#fcebd1;justify-content:center;align-items:center;min-height:calc(100vh - 80px);display:flex}.login-card{background:#fff;border-radius:12px;width:100%;max-width:400px;padding:2.5rem;box-shadow:0 10px 25px #0000000d}.login-card h2{text-align:center;color:#333;margin-bottom:1.5rem;font-weight:700}.form-group label{color:#555;margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.form-group input{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:.75rem;font-size:1rem;transition:border-color .2s}.form-group input:focus{border-color:#ff784f;outline:none}.btn-primary{color:#fff;cursor:pointer;background-color:#ff784f;border:none;border-radius:6px;width:100%;padding:.8rem;font-size:1rem;font-weight:700;transition:background-color .2s}.btn-primary:hover{background-color:#e5623e}.toggle-mode{text-align:center;color:#666;margin-top:1.5rem;font-size:.9rem}.toggle-mode span{color:#ff784f;cursor:pointer;font-weight:600}.toggle-mode span:hover{text-decoration:underline}.error-message{color:#d93025;text-align:center;background-color:#fef0f0;border-radius:6px;margin-bottom:1.5rem;padding:.8rem;font-size:.9rem}.watch-container{max-width:1000px;margin:0 auto;padding:2rem}.video-player-wrapper{background:#fff;border-radius:15px;padding:2rem;box-shadow:0 5px 20px #0000000d}.btn-back{color:#666;cursor:pointer;background:0 0;border:none;margin-bottom:1rem;padding:0;font-size:1rem;font-weight:700}.btn-back:hover{color:#ff784f;text-decoration:underline}.watch-title{color:#333;margin-bottom:1.5rem;font-size:1.5rem}.video-player-placeholder{aspect-ratio:16/9;background:#000;border-radius:8px;justify-content:center;align-items:center;width:100%;margin-bottom:2rem;display:flex;overflow:hidden}.video-mock{text-align:center;color:#fff}.play-icon-large{color:#fff;opacity:.7;cursor:pointer;font-size:5rem}.play-icon-large:hover{opacity:1}.mock-text{color:#aaa;margin-top:1rem;font-size:.9rem}.watch-actions{text-align:center}.btn-complete{color:#fff;cursor:pointer;background:#ff784f;border:none;border-radius:30px;padding:1rem 3rem;font-size:1.2rem;font-weight:700;transition:all .2s;box-shadow:0 4px 10px #ff784f4d}.btn-complete:hover{background:#e5623e;transform:translateY(-2px);box-shadow:0 6px 15px #ff784f66}.success-message{color:#2e7d32;background:#e8f5e9;border-radius:8px;padding:1rem;font-size:1.1rem;font-weight:700;display:inline-block}.admin-container{max-width:1200px;margin:0 auto;padding:2rem}.btn-secondary{color:#ff784f;cursor:pointer;background:#fff;border:2px solid #ff784f;border-radius:6px;padding:.6rem 1.5rem;font-weight:700;transition:all .2s}.btn-secondary:hover{background:#fff0eb}.users-list{flex-direction:column;gap:2rem;display:flex}.user-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 15px #0000000d}.user-name{color:#333;align-items:center;gap:1rem;margin:0 0 1rem;font-size:1.4rem;display:flex}.badge{color:#1976d2;background:#e3f2fd;border-radius:20px;padding:.3rem .8rem;font-size:.9rem;font-weight:400}.history-table-container{overflow-x:auto}.history-table{border-collapse:collapse;width:100%;margin-top:1rem}.history-table th,.history-table td{text-align:left;border-bottom:1px solid #eee;padding:1rem}.history-table th{color:#666;background-color:#f9f9f9;font-weight:600}.history-table tr:hover td{background-color:#fafbfc}.no-history{color:#888;text-align:center;background:#f9f9f9;border-radius:6px;padding:1rem;font-style:italic}.upload-page-container{max-width:800px;margin:0 auto;padding:2rem}.upload-card{background:#fff;border-radius:12px;padding:2.5rem;box-shadow:0 4px 15px #0000000d}.upload-description{color:#666;background:#fff8f5;border-left:4px solid #ff784f;border-radius:6px;margin-bottom:2rem;padding:1rem;font-size:.95rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#444;margin-bottom:.5rem;font-weight:600;display:block}.form-group input[type=text],.form-group select{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:.8rem;font-size:1rem}.form-group input[type=text]:focus,.form-group select:focus{border-color:#ff784f;outline:none}.form-row{gap:1rem;display:flex}.form-row .half{flex:1}.file-input{text-align:center;cursor:pointer;background:#f9f9f9;border:2px dashed #ddd;border-radius:6px;width:100%;padding:2rem}.file-input:hover{background:snow;border-color:#ff784f}.file-info{color:#333;background:#f5f5f5;border-radius:6px;margin:1rem 0;padding:1rem;font-size:.95rem}.progress-container{margin:2rem 0}.progress-bar-bg{background-color:#eee;border-radius:10px;width:100%;height:20px;overflow:hidden;box-shadow:inset 0 1px 3px #0000001a}.progress-bar-fill{background:linear-gradient(90deg,#ff784f,#ffa07a);height:100%;transition:width .3s}.progress-text{text-align:center;color:#555;margin-top:.5rem;font-weight:600}.admin-header-row{border-bottom:2px solid #ff784f;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;display:flex}.admin-header-row h2{color:#333;margin:0}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9f9f9;font-family:Inter,Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}body{color:#333;min-height:100vh;margin:0;display:block}.app-container{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:100;background-color:#fff;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0;box-shadow:0 2px 10px #0000000d}.app-header h1{color:#ff784f;margin:0;font-size:1.5rem;font-weight:800}.btn-logout{cursor:pointer;color:#555;background:#fff;border:1px solid #ddd;border-radius:4px;padding:.5rem 1rem;font-size:.9rem;font-weight:600;transition:all .2s}.btn-logout:hover{background:#f5f5f5;border-color:#ccc}.app-main{flex-grow:1}.loading,.error{text-align:center;color:#666;padding:4rem 2rem;font-size:1.2rem}.error{color:#d93025}
