*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:16px;line-height:1.6;color:#1a1a2e;background-color:#f5f7fa}h1,h2,h3{line-height:1.2;margin-bottom:.5rem}a{color:#4361ee;text-decoration:none}a:hover{text-decoration:underline}.main-content{max-width:1100px;margin:0 auto;padding:2rem 1.5rem}.btn{display:inline-block;padding:.5rem 1.25rem;border:none;border-radius:6px;cursor:pointer;font-size:.95rem;font-weight:500;text-align:center;transition:opacity .15s ease;text-decoration:none}.btn:hover{opacity:.85;text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background-color:#4361ee;color:#fff}.btn-secondary{background-color:#e8ecf5;color:#333}.btn-danger{background-color:#e63946;color:#fff}.btn-small{padding:.3rem .75rem;font-size:.85rem}.form-group{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1.25rem}.form-group label{font-weight:600;font-size:.9rem;color:#444}.form-group input,.form-group textarea{padding:.6rem .9rem;border:1px solid #ccd0e0;border-radius:6px;font-size:1rem;font-family:inherit;background:#fff;transition:border-color .15s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#4361ee}.form-row{display:flex;gap:1.5rem;flex-wrap:wrap}.form-row .form-group{flex:1;min-width:160px}.form-error{background:#fee;border:1px solid #f99;color:#c00;padding:.6rem 1rem;border-radius:6px;margin-bottom:1rem}.admin-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #00000012}.admin-table th,.admin-table td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid #eef0f8}.admin-table th{background:#f0f2fb;font-weight:600;font-size:.88rem;text-transform:uppercase;letter-spacing:.04em;color:#555}.admin-table tbody tr:hover{background:#fafbff}.action-cell{display:flex;gap:.5rem;flex-wrap:wrap}.status-message{text-align:center;padding:3rem 1rem;color:#666;font-size:1rem}.status-message.error{color:#c00}.back-link{display:inline-block;margin-bottom:1.5rem;color:#4361ee;font-size:.9rem}.confirmation-page{display:flex;justify-content:center;align-items:center;min-height:60vh}.confirmation-box{background:#fff;border-radius:12px;padding:3rem 2.5rem;text-align:center;max-width:480px;box-shadow:0 2px 12px #00000014}.confirmation-icon{font-size:3rem;color:#2ecc71;margin-bottom:1rem}.confirmation-box h1{font-size:1.8rem;margin-bottom:.75rem}.confirmation-box p{color:#555;margin-bottom:1.5rem}.navbar{background-color:#1a1a2e;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:56px;box-shadow:0 2px 6px #0003}.navbar-brand a{color:#fff;font-size:1.15rem;font-weight:700;text-decoration:none;letter-spacing:.02em}.navbar-links{display:flex;gap:1.5rem}.navbar-links a{color:#ccd0e0;font-size:.95rem;font-weight:500;text-decoration:none;padding:.25rem 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}.navbar-links a:hover,.navbar-links a.active{color:#fff;border-bottom-color:#4361ee;text-decoration:none}.course-list h1{font-size:2rem;margin-bottom:1.5rem}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.course-card{display:flex;flex-direction:column;background:#fff;border-radius:10px;padding:1.5rem;box-shadow:0 1px 4px #00000014;border:1px solid #e8ecf5;color:inherit;text-decoration:none;transition:box-shadow .2s,transform .2s}.course-card:hover{box-shadow:0 4px 16px #4361ee21;transform:translateY(-2px);text-decoration:none}.course-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.course-category{background:#e8ecf5;color:#4361ee;padding:.2rem .6rem;border-radius:20px;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.course-duration{font-size:.82rem;color:#888}.course-title{font-size:1.15rem;margin-bottom:.4rem;color:#1a1a2e}.course-instructor{font-size:.88rem;color:#666;margin-bottom:.25rem}.course-date{font-size:.88rem;color:#888;margin-bottom:.75rem}.course-description{font-size:.92rem;color:#555;line-height:1.5;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:1rem}.course-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.75rem;border-top:1px solid #eef0f8}.course-capacity{font-size:.85rem;color:#888}.course-link{font-size:.88rem;color:#4361ee;font-weight:600}@media(max-width:768px){.course-grid{grid-template-columns:repeat(2,minmax(480px,1fr))}}.course-detail{max-width:800px}.course-header{margin-bottom:2rem}.course-meta-tags{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem}.tag{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.tag.category{background:#e8ecf5;color:#4361ee}.tag.duration{background:#e8f5e9;color:#2e7d32}.tag.seats{background:#fff3e0;color:#e65100}.tag.seats.full{background:#fce4ec;color:#c62828}.course-detail h1{font-size:2rem;margin-bottom:.5rem}.course-detail .course-instructor{font-size:1rem;color:#555;margin-bottom:.25rem}.course-detail .course-date{font-size:.95rem;color:#888}.course-body{margin-bottom:2.5rem}.course-description-section,.course-content-section{background:#fff;border-radius:10px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 4px #0000000f}.course-description-section h2,.course-content-section h2{font-size:1.15rem;margin-bottom:.75rem;color:#333}.course-description-section p{color:#555;line-height:1.7}.course-content{font-family:inherit;font-size:.92rem;color:#444;line-height:1.7;white-space:pre-wrap;word-wrap:break-word}.registration-section{background:#fff;border-radius:10px;padding:1.75rem;box-shadow:0 1px 4px #0000000f}.registration-section h2{font-size:1.3rem;margin-bottom:1.25rem}.registration-form{max-width:420px}.course-full-message{color:#c62828;font-weight:500;background:#fce4ec;padding:1rem;border-radius:6px}.admin-course-list h1{font-size:1.8rem}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.admin-actions{display:flex;gap:.75rem}.course-form-page h1{font-size:1.8rem;margin-bottom:1.5rem}.course-form{background:#fff;border-radius:10px;padding:2rem;max-width:720px;box-shadow:0 1px 4px #00000012}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:.5rem}.registration-list-page h1{font-size:1.8rem;margin-bottom:.25rem}.course-subtitle{font-size:1.1rem;font-weight:400;color:#555;margin-bottom:.75rem}.registration-count{font-size:.95rem;color:#666;margin-bottom:1.5rem}
