#create-review-form {
    padding: 40px 0;
}
/* Scoped to the review form card — the auth banner carries its own tiny
   logout <form> that must not inherit the card look. */
#create-review-form form.live-form {
    padding: 50px;
    border-radius: 24px;
    background-color: var(--color-bg-alt);
}
#create-review-form form .company_name {
    font-size: 42px;
    font-weight: 800;
    line-height: 50px;
    margin-top: 16px;
    margin-bottom: 30px;
}
#create-review-form form .row {
    display: flex;
    align-items: center;
    width: calc(100% + 20px);
    margin: 15px -10px 0;
}
#create-review-form form .row-with_rating {
    align-items: stretch;
}
#create-review-form form .row:first-child {
    margin-top: 0;
}
#create-review-form form .row .form-container {
    flex-basis: calc(50% - 20px);
    margin: 0 10px;
}
#create-review-form form .row .form-label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
#create-review-form form .row .rating {
    flex-basis: auto;
    display: flex;
    flex-direction: column;
    padding-left: 40px;
}
#create-review-form form .row .rating .rating-label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
#create-review-form form .row .rating .rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#create-review-form form .row .rating .rating-item .label {
    margin-top: 5px;
    margin-right: 5px;
    color: var(--color-text-alt);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
#create-review-form form .row-with_rating textarea {
    height: 100%;
    resize: none;
    min-height: 224px;
}
#create-review-form form .row-with_rating textarea .form-control {
    flex-basis: 415px;
    width: 100%;
}
#create-review-form form .notice,
#create-review-form .auth-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--color-border-secondary);
    background-color: var(--color-bg-third);
    color: var(--color-text-link);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 15px 0;
}
#create-review-form form .notice .icon,
#create-review-form .auth-notice .icon {
    display: flex;
    font-size: 29px;
    color: var(--color-text-third);
    margin-right: 14px;
}
/* The "reviewing as ..." banner sits in the container ABOVE the white form
   card (it belongs to the page, not the form) — same notice look, own rhythm. */
#create-review-form .auth-notice {
    margin: 0 0 20px;
    gap: 5px;
}
#create-review-form .auth-notice .link-logout {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--color-text-third);
    text-decoration: underline;
    cursor: pointer;
}
#create-review-form form .btn {
    width: 100%;
    margin-top: 30px;
}
#create-review-form form .login,
#create-review-form form .login > a {
    color: var(--color-text-link);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 20px;
    text-align: center;
}
#create-review-form form .login > a {
    color: var(--color-text);
    font-weight: 500;
    text-decoration: unset;
}

@media (max-width: calc(991px + 30px)) {

    #create-review-form form .company_name {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 768px) {

    #create-review-form {
        padding: 35px 0;
    }
    #create-review-form form.live-form {
        padding: 30px;
    }
    #create-review-form form .company_name {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 30px;
    }
    #create-review-form form .row{
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    #create-review-form form .row .form-container {
        flex-basis: auto;
        width: 100%;
        margin: 15px 0 0;
    }
    #create-review-form form .row .form-container:first-child {
        margin-top: 0;
    }
    #create-review-form form .row .rating {
        padding-left: 0;
        margin-top: 20px;
        max-width: 200px;
    }
    #create-review-form form .row  .rating-item .sri-input__stars {
        gap: 1px;
    }
    #create-review-form form .btn {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    #create-review-form {
        padding: 25px 0;
    }
}
