@import url("../../shared/css/base.css");


.task-form {
    gap: 26px;
}

.task-form .button-section {
    margin-top: 8px;
    gap: 14px
}

.task-form .bin-icon {
    width: 23px;
    height: 23px;
}

.task-form .close-icon {
    width: 28px;
    height: 28px;
}

.button-section .add-icon {
    background-color: var(--dark-green);
    width: 24px;
    height: 24px;
    margin-top: -2px;
    margin-right: 3px;
}



.task-form .preview-task {
    margin-top: 10px;
}

/* the preview card carries no action icons, so the title can use full width */
.task-form .preview-task .task-title {
    padding-right: 0;
    font-size: 17px;
    font-weight: 600;
}

.task-form .preview-task .task-note {
    font-size: 13px;
}





.form-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: var(--warm-white);
    font-size: 17px;
    font-weight: 600;
}

/* centered blue-grey link-style label, e.g. "Preview Task" */
.form-link {
    color: var(--pale-sage);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}


/* text field / textarea */
.form-field {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 10px 16px;

    display: flex;
    align-items: center;

    background: var(--mid-green);
    border: 1px solid var(--paler-sage);
    border-radius: 15px;
    color: var(--warm-white);

    font: inherit;
    font-size: 16px;
    font-weight: 600;
    resize: none;
    outline: none;
}

.form-field::placeholder {
    color: var(--warm-white);
    opacity: 1;
}

.form-field.is-textarea {
    height: 65px;
    padding-top: 14px;
    align-items: flex-start;
}

.form-field.is-tall {
    height: 88px;
}


/* dropdown-style field (select an activity / task) */
.form-select {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 14px 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--dark-green);
    border: 1px solid var(--paler-sage);
    border-radius: 12px;
    color: var(--warm-white);

    font: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

/* stacked buttons at the foot of a form (Cancel above the primary action) */
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
