h1 {
    text-align: center;
}
form.returnFormula {
    display: flex;
    justify-content: center;
}

form.returnFormula input {
    width: 100%;
    max-width: 100%;
}
form.returnFormula > div {
    text-align: center;
}
form.returnFormula > div h2 {
    font-weight: bold;
    font-size: 25px;
}
form.returnFormula input,
.return-form-container textarea,
.return-form-container input[type="radiobutton"] {
    margin-bottom: 15px;
}
body:not(.gls-load ).returnproces
{
    display: none;
}
.returnproces {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 1100px;
    max-width: 100%;
    margin: 0 auto 40px;
}
.returnproces > div {
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    width: 33.3%;
}
.returnproces > div > span {
    font-weight: bold;
    font-size: 18px;
}
.orderInfo {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    width: 1100px;
    max-width: 100%;
}
.return-form-container {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}
.return-items-form {
    width: 100%;
    padding: 30px;
    background-color: #FFFFFF;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#returnReasonRadios {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0 0 0;
}
#returnReasonRadios > div {
    display: flex;
    align-items: center;
    gap: 6px;
}
.return-items-form h2 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
}
#returnOutcomeRadios, #returnMethodRadios {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0 0 0;
}
#returnOutcomeRadios > div, #returnMethodRadios > div {
    display: flex;
    align-items: center;
    gap: 6px;
}
.file-upload {
    -webkit-appearance: none;
    border: none;
    color: #fff;
    cursor: pointer;
    background: #000;
    display: inline-flex;
    padding: 0 20px;
    font-size: inherit;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    justify-content: center;
    align-items: center;
    outline: none;
    min-height: 40px;
    font-weight: bold;
    position: relative;
    transition: ease .4s;
}

.file-upload:hover {
    background-color: #333;
}

#returnImages, #returnVideos {
    display: none; /* skjuler det grimme standard-input */
}

.selected-files {
    margin-top: 10px;
    font-size: 14px;
    font-family: sans-serif;
    color: #333;
}
.selected-files > ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    gap: 5px;
    display: flex;
    flex-direction: column;
}
.selected-files > ul > li {
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}
.remove-file {
    background-color: black;
    color: #FFF;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 10px;
}
.return-items-form p {
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-details {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 20px;
}

.contact-details div {
}

.contact-details .orderId {
    font-weight: bold;
    grid-column: 1 / -1;
}

.product-list {
    margin-bottom: 2rem;
}

.product-list h3 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.product-list table {
    width: 100%;
    border-collapse: collapse;
}

.product-list th,
.product-list td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-list thead th {
    background-color: #392912;
    color: #FFF;
}

.product-list tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.product-list tbody tr:hover {
    background-color: #e9ecef;
}

.return-quantity-select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.form-actions {
    text-align: center;
    display: flex;
    gap: 20px;
}
.form-actions > * {
    width: 50%;
}

.cancel-btn {
    background-color: #A80002 !important;
}
.submit-btn,
.cancel-btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

.submit-btn:hover {
    background-color: #218838;
}

.cancel-btn {
    background-color: #dc3545;
    color: white;
}

.cancel-btn:hover {
    background-color: #c82333;
}

.form-group {
    margin-bottom: 30px;
}
.return-options select,
.return-options input {
}

.return-products {
    display: flex;
    gap: 50px;
    padding: 20px 0;
}

.return-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background-color: #fff;
    position: relative;
}

.return-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.return-product-card img {
    width: 100%;
    display: block;
}

.product-info {
    padding: 15px;
    text-align: center;
}
.product-info > span {
    -webkit-appearance: none;
    border: none;
    color: #fff;
    cursor: pointer;
    background: #1a80a8;
    display: flex;
    padding: 0 20px;
    font-size: inherit;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    justify-content: center;
    align-items: center;
    outline: none;
    min-height: 40px;
    font-weight: bold;
    position: relative;
    transition: ease .4s;
}
.product-name {
    margin: 0 0 5px 0;
    color: #333;
}

.return-product-card.selected {
    border-color: #1a80a8;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.return-product-card.selected:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px #4aa3c6;
}
.return-product-card.selected:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: green;
    z-index: 9;
}
.return-product-card.selected:after {
    content:url("/images/skins/H4P/images/check-mark-white.svg");
    position: absolute;
    width: 20px;
    height: 20px;
    top: 19px;
    left: 20px;
    z-index: 10;
}
.inactive-shopreturns-block {
    opacity: 0.5;
    pointer-events: none;
}
body.gls-success .returnproces, body.gls-success h1 {
    display: none;
}

@media (max-width: 1000px) {
    .returnproces {
        flex-wrap: wrap;
    }
    .returnproces > div {
        width: 100%;
        text-align: center;
    }
}