* {
    font-family: montserrat;
}

body {
    display: flex;
    flex-flow: column;
    align-items: center;
    background-color: #f0f0ee;
    margin: 0;
}

header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    margin: 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

header > a {
    display: block;
    height: 100%;
}

.brand-image {
    height: 100%;
    display: block;
    width: 100%;
    object-fit: scale-down;

}

.spark-header {
    display: flex;
    justify-content: space-between;
}

.spark-grading-scale {
    width: 70%;
    display: block;
}

.spark-grading-scale span {
    font-weight: bold;
}

table.grading-scale-table {
  table-layout: fixed;
  width: 90%;
  margin: 10px auto;
  border-collapse: collapse;
  border-top: 1px solid black;
  font-size: 14px;
  display: none;
}

.grading-scale-table th,
.grading-scale-table td {
  padding: 0.6em 1em;
}

.grading-scale-table tr {
    border-bottom: 1px solid lightgray;
}

caption {
  padding: 0.5em;
  background-color: lightgray;
}

#main-content {
    width: 80%;
    border-radius: 6px;
    background-color: #ffffff;
    padding: 2em;
}

#main-content > h1 {
    margin-top: 0;
}

.spark-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    margin: 1rem 0rem;
    flex-direction: column;
}

.spark-card-details {
    display: flex;
}

.spark-comment-header {
    font-size: 20px;
}

.spark-card-comments {
    display: flex;
    flex-flow: column;
    font-size: 14px;
}

.spark-comment {
    padding: 10px;
    display: flex;
    flex-flow: column;
    background-color: #ededed;
    border-bottom: 4px solid #fafafa;
}

.spark-comment-input-container {
    padding: 10px;
    background-color: #ededed;
}

.spark-comment-input {
    width: 100%;
}

.spark-comment-user {
    font-size: 14px;
    font-weight: 600;
}

.spark-comment-date {
    color: gray;
    font-size: 13px;
}

.spark-comment-text {
    margin-top: 7px;
}

.spark-card-placement-details {
    flex: 1;        /* ~1/3 */
    display: flex;
    flex-flow: column;
}

.placement-score {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 8rem;
    margin-top: 7px;
}

.placement-score-label {
    text-align: center;
}

.placement-score-value {
    font-size: 32px;
}

.spark-card-performance {
    flex: 2;        /* ~2/3 */
}

.spark-table {
    display: table;
    width: 100%;
}

.spark-table th {
    text-align: left;
}

.spark-table td {
    font-size: 16px;
    padding: 7px 0px;
}

.spark-table tr td:first-child {
    width: auto;
}

.placement-name {
    font-size: 18px;
    font-weight: bold;
}

.spark-performance-select {
    background-color: white;
    border: none;
    border-bottom: 2px solid gray;
    width: 100%;
    font-size: 16px;
    padding: 7px 0px;
    cursor: pointer;
}


.spark-performance-select:hover {
    border-bottom: 2px solid #094977;
}

.spark-save-btn {
    float: right;
}

.muted {
    font-size: 14px;
    color: gray;
}

.company-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    margin: 1rem 0rem;
    text-decoration: none;
    color: black;
    line-height: 100%;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
}
