.problem-table .status-0 {
    background-color: greenyellow;
}

.problem-table .status-0::after {
    content: "✓";
}

.problem-table .status-1{
    background-color: red;
}

.problem-table .status-1::after {
    content: "⨯";
}

.problem-table .status-2{
    background-color: rgb(214, 214, 214);
}

.problem-table .status-2::after {
    content: "—";
}

html, body{
    width: 100%;
    margin: 0px;
    min-height: 100vh;
    padding: 0px;
    box-sizing: border-box;
    background-color: #fffdaf;
    overflow-x: initial !important;			
}

.alert-error{
    color: #a94442;background-color: #f2dede; margin:1em; border-color: #d6e9c6;border: 1px solid transparent; border-radius: 4px;
}

#parnav {
    font-family: 'Open Sans';
    font-size: .9em;
    height: 2.2em;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: white;
    z-index: 999;
}

#navleft{
    float: left;
}

li .aleft, logo{
    display: block;
    color: black;
    text-align: center;
    padding: .5em .5em;
    text-decoration: none;
}

#parnav {
    top: 0;
    width: 100%;
    border:1px solid rgb(200, 200, 200);
    border-radius: 5px;
}

li .nava:hover {
    background-color: rgb(180,180,180);
}

.container {
    display: box;
    margin: auto;
    width: 65%;
    min-width:1000px;
    min-height: 100vh ;
    background-color: white;
}

#title{
    margin-bottom: .5em;
    border-bottom: 2px solid black;
}

#header{
    margin-left: 5%;
    margin-right: 5%;
}

#user-info{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;  
}

.flag{
    text-decoration: none;
}

.svg-container {
    position: relative;
    display: inline-block;
}

.red-dot {
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    content: "";
}

.svg-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.noti-dot {
    position: relative;
    top: 0px;
    left: 	4px;
    width: 5px;
    height: 5px;
    background: #e11d48; /* red */
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff; /* ring to separate from icon */
    pointer-events: none;
}

/* --- From index.html --- */
.notification{
    padding-top: 1em;
    padding-bottom: 1em;
}

.notification .body-content{
    padding-left: 2%;
    border-left: 3px solid gray;
}

.notification .title{
    margin-top: .2em;
    color: rgb(91,128,185);
    margin-bottom: .1em;
}

.notification .date{
    margin: 0;
    padding: 0;
}

.notification .meta{
    border: 2px solid gray;
    border-radius: 5px;
}

.notification .meta .wrapper{
    padding-top: 0.1em;
    padding-bottom: .1em;
    padding-left: 1%;
    padding-right: 1%;
    display: flex;
    justify-content: space-between;
}

.notification .meta .wrapper p{
    padding: 0;
    margin: 0;
}

#pagination .page{
    margin-left: .5em;
    margin-right: .5em;
    padding: 0;
}

#pagination .current_page{
    background-color: rgb(204, 204, 204);
}

#pagination a{
    text-decoration: none;
    color:black;
}

#pagination {
    text-align: center;
    margin-top: 1em;
}

/* --- From problem.html --- */
.code-wrapper {
  position: relative; 
  margin: 1em 0;
}

.copy-button {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  opacity: 0.8; 
  transition: opacity 0.2s;
}

.copy-button:hover {
  opacity: 1;
}

pre {
  border: 1px solid #ddd;
  padding: 8px;
  overflow-x: auto;
  border-radius: 5px;
}

/* --- Phase 3: Semantic Classes for base.html --- */
.site-header-container {
    width: 60%;
    margin: auto;
}

body {
    font-family: 'Roboto', sans-serif;
}

.site-header {
    height: 80px;
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
}

.logo-container {
    float: left;
    position: relative;
}

.logo-img {
    height: 80px;
    margin: 5%;
    position: relative;
}

.auth-links {
    margin-top: 0.5em;
}

.nav-container {
    padding-left: 5%;
    padding-right: 5%;
}

.content-container {
    margin-top: 0.5em;
}

.flag-icon {
    margin-right: 5px;
    margin-top: 4px;
}

.inline-form {
    display: inline;
}

.notification-dot-svg {
    z-index: 1000;
    margin-right: -8px;
    position: absolute;
}

.pencil-icon {
    font-size: 1.6em;
}

/* --- Phase 3: Semantic Classes for problem.html --- */
.problem-header {
    text-align: center;
}
.problem-title {
    padding: 3px;
    margin: 3px;
}
.problem-limit {
    padding: 0.3em;
}
.problem-statement {
    padding-top: 2em;
    line-height: 1.5;
}
