*:before,*:after{box-sizing:border-box}body{font-family:Arial,sans-serif}.link{color:#0d74ab;text-decoration:none}.link:hover{text-decoration:underline}.app-container{display:flex;flex-direction:row}.filterContainer{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}@media (max-width: 768px){.filterContainer{flex-direction:column}}.cardRow{background-color:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 8px #0000004d;display:grid;width:100%;box-sizing:border-box}.nav-button{display:block;width:100%;padding:.75rem;margin-bottom:.5rem;background-color:#fff;color:#333;border:none;border-radius:4px;cursor:pointer;text-align:left}.nav-button.active{background-color:#6200ee;color:#fff}.main-content{flex:1;padding:2rem 1rem;overflow-x:hidden;overflow-y:auto;margin-left:0;margin-right:1.5rem;box-sizing:border-box;max-width:100%}.container{padding:2rem;max-width:900px;margin:auto;background:#fff;border-radius:8px}.title{font-size:2rem;margin-bottom:1rem}.subtitle{font-size:1.5rem;margin-top:2rem}.input{display:block;width:100%;max-width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.button{padding:.75rem 1.5rem;background-color:#0096ff;color:#fff;border:none;border-radius:4px;cursor:pointer}.button.secondary{background-color:#ccc;color:#000}.button.danger{background-color:#d32f2f}.button.small{padding:.4rem .8rem;font-size:.875rem;margin-right:.5rem}.error{color:red;margin-top:1rem}.error-message{color:red;font-size:.875rem;margin-top:.25rem}.table-container{overflow-x:auto}.table{width:100%;border-collapse:collapse;margin-top:1rem}.table th,.table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}th.sortable{cursor:pointer;color:#0d74ab}th.sortable:hover{text-decoration:underline}.field-label{font-size:.7em;text-transform:uppercase;color:gray;margin-bottom:.25rem}.profile-pic-circle{width:200px;height:200px;object-fit:cover;border:3px solid #0096FF;border-radius:50%;display:inline-block;padding:2px}.profile-placeholder{width:200px;height:200px;background-color:#ccc;color:#fff;border:4px solid #0096FF;border-radius:50%;font-size:72px;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}@media (max-width: 768px){.stories-table thead{display:none}.stories-table tr{display:block;margin-bottom:1rem;background-color:#fff;border-radius:.5rem;box-shadow:0 2px 6px #0000001a;padding:1rem}.stories-table td{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eee}.stories-table td:before{content:attr(data-label);font-weight:700;margin-right:1rem}.stories-table td:last-child{border-bottom:none}}@media (min-width: 769px){.stories-table{width:100%;border-collapse:collapse}.stories-table th,.stories-table td{text-align:left;padding:.75rem 1rem}.stories-table tr:nth-child(2n){background-color:#f9f9f9}.view-data-table thead{display:table-header-group}}.header-row{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.sort-search-wrapper{display:flex;flex-direction:column;gap:.5rem;width:100%;flex-wrap:wrap}.sort-search-wrapper input[type=text]{flex:1}@media (min-width: 600px){.sort-search-wrapper{flex-direction:row;align-items:center}}.filter-group{display:flex;flex-direction:row;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}@media (max-width: 768px){.filter-group{flex-direction:column}}.login-container{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:16px}.login-form{max-width:400px;width:100%;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.login-input{width:100%;padding:8px;margin-top:4px;margin-bottom:12px;font-family:Arial,sans-serif}.form-group{width:100%;max-width:100%;text-align:center;margin-bottom:12px}.form-group label{display:block;margin-bottom:4px;font-family:Arial,sans-serif}.login-button{width:100%;height:40px;padding:0 16px;border-radius:4px;background-color:#0096ff;color:#fff;font-size:16px;border:none;cursor:pointer;font-family:Arial,sans-serif}.google-button{width:100%;height:40px;padding:0 16px;background-color:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center}.login-form h2{font-family:Arial,sans-serif}.footer{font-size:.8rem;color:#666;margin-top:20px}.dashboard{padding:2rem;text-align:center}.dashboard-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;margin-top:2rem;margin-right:2rem}.stat-box{background-color:#eaeaea;border-radius:8px;padding:1.5rem;width:200px;box-shadow:0 2px 6px #0003;text-align:center;transition:transform .2s ease-in-out}.stat-box:hover{transform:translateY(-4px);cursor:pointer}@media (max-width: 768px){.stat-box{width:100%}}@media (max-width: 768px){.dashboard-stats{flex-direction:column;align-items:center}}.hamburger-toggle{font-size:1.5rem;background:none;border:none;padding:1rem;cursor:pointer;position:absolute;top:0;left:0;z-index:1100}.sidebar{position:fixed;top:64px;left:0;width:220px;background-color:#fff;box-shadow:2px 0 5px #0000001a;padding:1rem;z-index:1000;transform:translate(-100%);transition:transform .3s ease-in-out}.sidebar.open{transform:translate(0)}.sidebar-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0000004d;z-index:900}.sidebar-title{font-size:1.25rem;font-weight:700;margin-bottom:1rem}.sidebar-nav{list-style:none;padding:0;margin:0}.sidebar-nav li{margin-bottom:.5rem}.sidebar-nav li a{display:block;padding:.5rem 1rem;border-radius:4px;text-decoration:none;color:#333;font-size:1rem;transition:background-color .2s ease}.sidebar-nav li a:hover{background-color:#f0f0f0}.sidebar-nav li.active a{background-color:#e0e0e0;font-weight:700}.profileMenu{width:100%;min-height:64px;display:flex;justify-content:space-between;align-items:center;background-color:#fff;padding:1rem 1.5rem;border-bottom:1px solid #ddd;position:sticky;top:0;z-index:100;box-sizing:border-box}.profileMenu-left{flex:1}.profileMenu-right{display:flex;align-items:center;justify-content:flex-end;flex:1;margin-right:1.5rem}.profileMenu-title{font-size:1.5rem;font-weight:700}.profileMenu-profile-container{position:relative}.profileMenu-profile{width:40px;height:40px;background-color:#ccc;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;font-weight:700;color:#fff;font-size:1rem;-webkit-user-select:none;user-select:none}.profile-image{width:100%;height:100%;border-radius:50%;object-fit:cover}.dropdown-menu{position:absolute;top:48px;right:0;background-color:#fff;box-shadow:0 2px 8px #00000026;border-radius:4px;overflow:hidden;min-width:150px;z-index:100}.dropdown-link{display:block;width:100%;padding:.75rem 1rem;background-color:#fff;color:#333;border:none;text-align:left;text-decoration:none;font-family:Arial,sans-serif;font-size:.95rem}.dropdown-link:hover{background-color:#f0f0f0}.view-data-table table{width:100%;border-collapse:collapse;margin-top:1rem;background-color:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.view-data-table th,.view-data-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e0e0e0}.view-data-table th{background-color:#dfdede;font-size:.8em;text-transform:uppercase;color:gray}.view-data-table tr:hover{background-color:#f9f9f9}.view-data-table button:hover{background-color:#075c8c}.view-data-table .clickable-row{cursor:pointer}@media (max-width: 768px){.view-data-table tr{display:block;margin-bottom:1rem;border-radius:.5rem;box-shadow:0 2px 6px #0006;padding:1rem;max-width:100%;overflow-x:hidden;word-wrap:break-word}.view-data-table td{width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;padding:.5rem 0;border-bottom:1px solid #eee;overflow-x:auto;word-break:break-word}.view-data-table td:last-child{border-bottom:none}.view-data-table .clickable-row:hover{background-color:#f0f0f0}}.view-data-table .field-label{font-weight:700;color:gray;margin-bottom:.25rem}@media (min-width: 769px){.view-data-table .field-label{display:none}}@media (max-width: 768px){.table-header-desktop{display:none}}@media (min-width: 769px){.table-header-desktop{display:table-header-group}}.story-header{display:flex;flex-direction:column;gap:1rem;align-items:flex-start;margin-bottom:1rem}.story-header .title{margin:0}.story-controls{display:flex;width:100%;gap:.5rem;flex-wrap:wrap}.story-controls .dropdown{flex:0 0 auto;height:42px}.story-controls .search{flex:1 1 auto;min-width:0;height:36px}@media (min-width: 768px){.story-header{flex-direction:row;justify-content:space-between;align-items:center}.story-controls{flex:1;justify-content:flex-end}.story-controls .search{max-width:400px}}@media (max-width: 767px){.story-controls .dropdown,.story-controls .search,.story-controls button{width:100%}}.button-group{display:flex;flex-direction:column;gap:1rem;align-items:center;margin-top:2rem}.button-group button{height:40px;width:100%;max-width:400px;padding:.5rem 1rem;border:none;border-radius:4px;font-size:1rem;cursor:pointer}.button-group .save-button{background-color:#0096ff;color:#fff}.button-group .cancel-button{background-color:#ccc;color:#000}@media (min-width: 768px){.button-group button{width:400px}}
