/* =========================
   CREATE TASK PAGE
   ========================= */

.create-task-page {
    min-height: calc(100vh - 80px);
    padding: 55px 20px 80px;
}

.create-task-card {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.create-task-heading {
    margin-bottom: 32px;
}

.create-task-heading h1 {
    margin: 8px 0 12px;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.create-task-heading p {
    max-width: 680px;
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}


/* FORM CARD */

.create-task-form {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    padding: 30px;
}


/* FIELDS */

.task-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.task-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.task-field-full {
    grid-column: 1 / -1;
}

.task-field label {
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.task-field input,
.task-field select,
.task-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font: inherit;
    color: #172033;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.task-field input,
.task-field select {
    min-height: 50px;
    padding: 0 14px;
}

.task-field textarea {
    padding: 13px 14px;
    resize: vertical;
    min-height: 150px;
}

.task-field input:focus,
.task-field select:focus,
.task-field textarea:focus {
    outline: none;
    border-color: #2864e8;
    box-shadow: 0 0 0 3px rgba(40, 100, 100, 0.10);
}

.task-field input::placeholder,
.task-field textarea::placeholder {
    color: #98a2b3;
}


/* HINTS */

.task-hint {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}


/* BUDGET */

.budget-input-wrap {
    position: relative;
}

.budget-input-wrap input {
    padding-right: 45px;
}

.budget-currency {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    font-size: 14px;
    pointer-events: none;
}


/* FORM ACTIONS */

.create-task-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eaecf0;
}

.create-task-submit {
    width: 100%;
    min-height: 54px;
    justify-content: center;
}


/* MESSAGE */

.create-task-message {
    min-height: 24px;
    margin: 18px 0 0;
    text-align: center;
}


/* BACK */

.create-task-back {
    margin-top: 25px;
}


/* MOBILE */

@media (max-width: 700px) {

    .create-task-page {
        padding: 35px 16px 55px;
    }

    .create-task-heading h1 {
        font-size: 34px;
    }

    .create-task-form {
        padding: 22px;
    }

    .task-fields {
        grid-template-columns: 1fr;
    }

    .task-field-full {
        grid-column: auto;
    }
}