
a h1 {
    text-decoration: none;
    color: aliceblue;
}

a h1:hover {
    color: rgb(152, 153, 250);
    transition: color 0.2s;
}

p {
    color: #d8e2f9;
}

/* Search bar */
.search-container {
    margin: 20px auto;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    background-color: transparent;
    border: 3.6px solid aliceblue;
    border-radius: 50px;
    color: aliceblue;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    outline: none;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #c0defb;
    transition: color 0.2s;
}

.search-input:focus::placeholder {
    color: transparent;
}

.search-container .material-symbols-rounded {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: aliceblue;
}

.search-container button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Buttons and titles */
.actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px auto 10px;
    width: 100%;
}

.left-actions {
    display: flex;
    gap: 15px;
}

/* Column titles */
.columns-titles {
    display: grid;
    grid-template-columns: 60px 60px 100px 100px 100px;
    gap: 15px;
    font-size: 11px;
    font-weight: bold;
    color: #a3b8cc;
    text-align: center;
}

button {
    background-color: azure;
    text-decoration: none;
}

/* Assessment list */
.list-container {
    background-color: #121a2e;
    border-radius: 12px;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

/* Individual assessment card */
.assessment-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.assessment-row-card {
    background: linear-gradient(to right, #dff3ff 0%, #bdd4ff 100%);
    color: #383b42;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 0;
    border-radius: 8px;
    gap: 20px;
}

/* Subject badge */
.badge-subject p {
    padding: 30px 10px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    color: #3f37c9;
    font-size: 16px;
}

.math-bg {
    background-color: #ff5e7e;
}

.eng-bg {
    background-color: #3a86ff;
}

.cie-bg {
    background-color: #06d6a0;
}

/* Card content */
.assessment-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.assessment-details {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 8px;
}

.card-title {
    flex-grow: 1;
    font-weight: 500;
}

.card-title p {
    color: #2b3a67;
    font-weight: bold;
}

.card-data-field p {
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #0b111e;
}

/* Internal / external badge */
.type-badge p {
    color: whitesmoke;
    background-color: rgb(27, 100, 209);
    padding: 2px 6px;
    border-radius: 4px;
    width: auto;
    min-width: 40px;
}

/* Priority levels */
.high-pr {
    background-color: #3f37c9;
    color: white;
}

.medium-pr {
    background-color: #8ab5ff;
    color: #2b3a67;
}

.low-pr {
    background-color: #cae8ff;
    color: #2b3a67;
}

/* Due date and priority */
.due select {
    background-color: transparent;
    color: #0e0e6d;
    padding: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-family: "Geomini", sans-serif;
}

.priority {
    background-color: #3f37c9;
    color: #c0defb;
    border-radius: 3px;
    padding: 10px;
    text-align: center;
}

.due-date-priority {
    border-radius: 8px;
    border: 4px solid #3f37c9;
    align-items: center;
}

.priority select option {
    background-color: #bdd4ff;
    border: none;
}

.priority select {
    background-color: transparent;
    color: #c0defb;
    padding: 15px 10px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-family: "Geomini", sans-serif;
}

.priority select:hover {
    background-color: #2b24a4;
    border-radius: 10px;
}

select:hover,
select:focus {
    background: #1d178a;
    color: whitesmoke;
}

.submit {
    background-color: transparent;
    color: whitesmoke;
    border: none;
}

/* Date input */
input[type="date"] {
    background: transparent;
    border: none;
    color: #3f3f4e;
    font-family: "Commissioner", sans-serif;
    font-weight: bold;
    font-size: 14px;
    outline: none;
    padding: 0;
    width: 75px;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    filter: none;
}

input[type="date"]::-webkit-datetime-edit-year-field {
    display: none !important;
}

input[type="date"]::-webkit-datetime-edit-text:last-of-type {
    display: none !important;
}

/* Custom select, where supported */
@supports (appearance: base-select) {
    select {
        appearance: base-select;
        padding-inline: 10px;
        background-image: none;
    }

    select::picker-icon {
        content: "";
        width: 20px;
        height: 20px;
        background-image: url("arrow.svg");
        transition: rotate 0.2s ease-out;
    }
}

/* Completed assessment checkbox */
.completed-checkbox {
    appearance: none;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-out;
    width: 20px;
    height: 20px;
    border: 2px solid #dff3ff;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
}

.completed-checkbox:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: #250d90;
}

.completed-checkbox:checked {
    appearance: none;
    border-color: #dff3ff;
    border-radius: 4px;
    background-color: #250d90;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    cursor: pointer;
}

h2 {
    color: whitesmoke;
}
