:root {
    --series-padding: 48px;
    --series-gap: 10px;
    --button-radius: 8px;
}

.product-banner {
    position: relative;
    margin-top: 40px;
}

.product-banner__image {
    max-width: 100%;
}

.product-banner__button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: 95%;
    color: #fff;
    font-size: 15px;
    background: #C00808;
    border-radius: 3px;
    border: none;
    padding: 12px 60px;
    cursor: pointer;
    box-shadow: 0px 4px rgba(0, 0, 0, 0.25);
    transition: all .2s ease-out;

    &:hover {
        background: #b6000f;
    }
}

.series__bid-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.series__bid-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.series__bid-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.series__bid-popup-title {
    margin: 0;
    font-size: 24px;
}

.series__bid-popup-close {
    font-size: 28px;
    cursor: pointer;
}

.series__bid-popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.series__form-row {
    display: flex;
    gap: 20px;
}

.series__form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.series__half-width {
    width: calc(50% - 10px);
}

.series__form-group label {
    margin-bottom: 5px;
    line-height: 24px;
    font-weight: 400;
    font-size: 14px;
    color: #979797;
}

.series__form-group input,
.series__form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.series__form-group textarea {
    resize: vertical;
}

.series__file-upload-container {
    margin-top: 20px;
}

.series__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.series__checkbox input {
    margin: 0;
}

.series__form-submit {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
    background-color: #d40510;
    color: white;
    border: none;
    font-weight: 500;
}

.series__form-submit:hover {
    background-color: #b8040e;
}

.series__button-upload {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
    background-color: white;
    color: #d40510;
    border: 1px solid #d40510;
    font-weight: 500;
}

.series__button-upload .series__icon {
    margin-right: 10px;
    font-size: 24px;
    font-weight: 500;
    color: #d40510;
}

.series__bid-popup-form .series__checkbox {
    width: auto;
    margin-top: 10px;
    display: flex;
    align-items: center;
    color: #d40510;
}

.series__bid-popup-form .series__checkbox input {
    width: auto;
    accent-color: #d40510;
}

.series__bid-popup-form input:focus,
.series__bid-popup-form textarea:focus {
    border-color: #d40510;
    outline: none;
}

.series__bid-popup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.series__bid-popup-form .series__form-group {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .series__bid-popup-form .series__form-group.series__half-width {
        flex: 1 1 calc(50% - 10px);
    }
}

.series__file-upload-container {
    margin-bottom: 20px;
}

.series__file-upload-flex-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--series-gap);
}

.series__file-upload-flex-wrapper > div {
    width: 50%;
}

.series__file-limit {
    font-size: 14px;
    color: #606060;
    margin-top: 5px;
    margin-bottom: 0px;
}

.series__file-limit-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.series__file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.series__remove-file {
    background: none;
    border: none;
    color: #d40510;
    cursor: pointer;
    margin-left: 10px;
}

#file-name,
#file-size {
    margin-right: 10px;
}

.policy-checkbox {
    display: flex;
    margin-right: 5px;
}

.policy-checkbox::after {
    content: "*";
    color: #d40510;
    margin-left: 3px;
    display: inline;
}

.series__form-group label::after {
    content: "";
    display: none;
}

.series__form-group.required label::after {
    content: "*";
    color: #d40510;
    margin-left: 2px;
    display: inline;
}

.series__policy-title {
    line-height: 0.1;
    font-weight: 400;
    font-size: 16px;
    color: #979797;
    white-space: normal;
    word-wrap: break-word;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.series__policy-link {
    text-decoration: underline;
    cursor: pointer;
}

.series__policy-title-underlined {
    text-decoration: underline;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    color: #979797;
}

.series__policy-title-underlined:hover {
    color: #b8040e;
    text-decoration: underline;
}

.series__checkbox-wrap {
    display: flex;
    align-items: center;
}

.policy-checkbox {
    display: flex;
    margin-right: 10px;
}

.policy-checkbox > input[type="checkbox"]:hover {
    box-shadow: 0 0 0 1px #d40510;
}

.policy-checkbox > input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d40510;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: white;
}

.policy-checkbox > input[type="checkbox"]:checked {
    background-color: #d40510;
}

.policy-checkbox > input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 4px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.series__policy-text {
    flex: 1;
}

.series__policy-title {
    line-height: 2;
    font-weight: 400;
    font-size: 16px;
    color: #979797;
    display: inline;
}

.series__policy-title-underlined {
    text-decoration: underline;
    cursor: pointer;
    display: inline;
}

.series__policy-title-underlined:hover {
    color: #b8040e;
}

@media (max-width: 600px) {
    .series__file-upload-flex-wrapper {
        flex-direction: column;
    }

    .series__file-upload-flex-wrapper > div {
        width: 100%;
    }

    .series__image-wrap img {
        max-width: 297px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .series__form-row {
        flex-direction: column;
    }

    .series__half-width {
        width: 100%;
    }
}

.alertify-notifier {
    color: white;
}
