

a h1 {
    text-decoration: none;
    color: aliceblue;
}

a h1:hover {
    color: rgb(152, 153, 250);
    transition: 0.2s;
}

p{
    color: #d8e2f9;
}

.columns-titles{
    display: flex;
    gap: 40px;
}

.all-assessments-body {
    background-color: #0b111e;
    color: aliceblue;
    font-family: 'Commissioner', sans-serif;
    padding: 20px;
}

.button{
    background-color: azure;
    text-decoration: none;
}
/* 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;
}

/* fading effect */
.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;
}

.btn-sort, .btn-add {
    background-color: #2b3a6700;
    color: aliceblue;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

.btn-sort:hover, .btn-add:hover {
    background-color:  rgb(152, 173, 250);
    color: #0b111e;
    transition: 0.2s;
}
/* alignment of 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;
}

/* container of cards list */
.list-container {
    background-color: #121a2e; /* Container interno um pouco mais claro */
    border-radius: 12px;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

/* in line card */
.assessment-row-card {
    background: linear-gradient(to right, #dff3ff 0%, #bdd4ff 100%); /* Degradê clarinho do card */
    color: #383b42;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 0;
    border-radius: 8px;
    gap: 20px;
}

/* internal card elements */
.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; }
*/
.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; /* title occupies the space before the info */
    font-weight: 500;
}

.card-data-field p {
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #0b111e;
}

/* INT/EXT */
.type-badge p{
    color: whitesmoke;
    background-color: rgb(27, 100, 209);

    padding: 2px 6px;
    border-radius: 4px;
    width: auto;
    min-width: 40px;
}

/*

.high-pr {
    background-color: #3f37c9; color: white;
}

.medium-pr {
    background-color: #8ab5ff; color: #2b3a67;
}

.low-pr {
    background-color: #cae8ff; color: #2b3a67;
}
*/
.card-title p{
    color: #2b3a67;
    font-weight: bold;

}

.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;
    padding-right: auto;
    align-items: center;
}

.priority select option{

    background-color: #bdd4ff;
    border: transparent;

}

.priority select {
    background-color: transparent;
    padding: 15px 10px;
    border: transparent;
    border-radius: 10px;
    font-weight: bold;
    font-family: "Geomini", sans-serif;
}

.priority select:hover {
    background-color: #2b24a4;
    border-radius: 10px;
}


select {
  /*  properties with background-image */
    @supports (appearance: base-select) {
        padding-inline: 10px;
        background-image: none;
        &::picker-icon {
            content: "";
            width: 20px;
            height: 20px;
            background-image: url("arrow.svg");
            transition: rotate 0.2s ease-out;
        }
    }
}

.submit {
    background-color: transparent;
    color: whitesmoke;
    stroke: none;
}

input[type="date"] {
    border: none;
    background: transparent;
    color: transparent; /* hides aaaa */
    width: 32px;        /* Espaco suficiente apenas para o ícone */
    font-size: 0px;     /* Forca o sumico de textos residuais */
    padding: 0;
    cursor: pointer;
    outline: none;
}

.due input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    display: block;
    cursor: pointer;
    filter: none;
    font-size: 30px;
}

/* Garante o posicionamento perfeito do ícone nativo no Chrome/Edge */
input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 30px;
    opacity: 1;
    filter: none;
}

/*this takes the year field off*/
input[type="date"]::-webkit-datetime-edit-year-field {
    display: none !important;
}

input[type="date"]::-webkit-datetime-edit-text:last-of-type {
    display: none !important;
}


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;
}


/*help*/

::picker(select) {
    appearance: base-select;
}

select:hover,
select:focus {
    background: #1d178a;
    color: whitesmoke;
}




/*assessments*/
.assessment-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.completed-checkbox {
    appearance: none;
    right: -30;
    top: 50%;
    transition: transform 0.2s ease-out;

    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #dff3ff;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    align-items: center;
}

.completed-checkbox:hover{
    appearance: none;
    transform: translateY(-50%) scale(1.1);
    width: 20px;
    height: 20px;
    align-items: center;
    border: none;
    border-radius: 4px;
    background-color: #250d90;
    cursor: pointer;
    border: 2px solid #dff3ff;
}


.completed-checkbox:checked{
    appearance: none;
    border: none;
    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;
    align-items: center;
}


h2{
    color: whitesmoke;
}

