@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --wine: #a62461;
    --dark: #74153f;
    --pale: #f7f5f6;
    --ink: #1e1720
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #eee;
    font-family: Cairo, Tahoma, sans-serif;
    color: var(--ink)
}

.app {
    width: min(100%, 620px);
    min-height: 100vh;
    margin: auto;
    padding-bottom: 38px;
    background: var(--pale)
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    color: #fff;
    border-radius: 0 0 20px 20px;
    background: var(--wine)
}

.bar h1 {
    margin: 0;
    font-size: 22px
}

.close {
    color: #fff;
    text-decoration: none;
    font-size: 27px
}

.content {
    padding: 38px 27px 0
}

.intro {
    text-align: center
}

.icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    margin: auto;
    color: var(--wine);
    border: 2px solid;
    border-radius: 15px;
    font-size: 27px
}

.intro h2 {
    margin: 10px 0 2px;
    font-size: 25px
}

.intro p {
    margin: 0;
    font-size: 17px
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 32px 0 16px;
    font-size: 25px;
    font-weight: 800
}

.divider:before,
.divider:after {
    flex: 1;
    height: 3px;
    background: var(--wine);
    content: ""
}

.caption {
    margin: 0 0 14px;
    text-align: center;
    font-size: 17px
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.choice,
.day {
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 6px 15px #0002;
    font-family: inherit;
    cursor: pointer
}

.choice {
    padding: 17px 9px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700
}

.choice.active,
.day.active {
    color: #fff;
    background: var(--wine)
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px
}

.day {
    padding: 10px 2px;
    border-radius: 9px;
    font-size: 12px
}

.fields {
    display: grid;
    gap: 14px;
    margin-top: 29px
}

.fields select,
.fields input {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 11px;
    outline-color: var(--wine);
    background: #fff;
    box-shadow: 0 5px 12px #0001;
    font: 16px Cairo
}

.date-field {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700
}

.date-field input {
    direction: rtl
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 36px
}

.actions a,
.actions button {
    padding: 14px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 9px;
    background: var(--wine);
    font: 700 19px Cairo
}

.actions .back {
    color: var(--wine);
    background: #eedbe4
}

@media(max-width:420px) {
    .content {
        padding-right: 18px;
        padding-left: 18px
    }

    .day {
        font-size: 10px
    }

    .bar {
        padding: 16px 18px
    }
}
