﻿*, *:before, *:after {
    box-sizing: border-box !important;
}

.btn-sec-vader {
    background-color: #f1ca00!important
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;    
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: black !important;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
}

.content-container {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    padding: 20px;
    /*min-height: 100vh;*/
}

.logo-container {
    max-width: 7em;
    /*max-width: 200px;
    margin: 0 auto;*/
}

.logo-container img {
    width: 100%;
    height: auto;
}

.white-box {
    background-color: white;
    /*border-radius: 8px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    position: relative;
    padding: 30px;
    margin-bottom: 30px;
}

.language-dropdown {
    position: absolute;
    top: 15px;
    right: 15px;
}

.dropdown-menu {
    min-width: 150px;
}

.flag {
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.flag-sweden {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxMCI+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjEwIiBmaWxsPSIjMDA2YWE3Ii8+PHJlY3QgeT0iNCIgd2lkdGg9IjE2IiBoZWlnaHQ9IjIiIGZpbGw9IiNmZGNjMDAiLz48cmVjdCB4PSI0IiB3aWR0aD0iMiIgaGVpZ2h0PSIxMCIgZmlsbD0iI2ZkY2MwMCIvPjwvc3ZnPg==');
}

.flag-united-kingdom {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjM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ZD0iTTAsNjUgTDQ5NCw2NSBMNDk0LDI2MiBMMCwyNjIgTDAsNjUiIGZpbGw9IiNjZjE0MmIiLz48cGF0aCBkPSJNNzQxLDY1IEwxMjM1LDY1IEwxMjM1LDI2MiBMNzQxLDI2MiBMNzQxLDY1IiBmaWxsPSIjY2YxNDJiIi8+PHBhdGggZD0iTTQ5NCwzODggTDAsNjUwIEwwLDU4NSBMNDk0LDM4OCIgZmlsbD0iI2NmMTQyYiIvPjxwYXRoIGQ9Ik03NDEsMzg4IEwxMjM1LDY1MCBMMTIzNSw1ODUgTDc0MSwzODgiIGZpbGw9IiNjZjE0MmIiLz48cGF0aCBkPSJNNDk0LDI2MiBMMCwwIEwwLDY1IEw0OTQsMjYyIiBmaWxsPSIjY2YxNDJiIi8+PHBhdGggZD0iTTc0MSwyNjIgTDEyMzUsMCBMMTIzNSw2NSBMNzQxLDI2MiIgZmlsbD0iI2NmMTQyYiIvPjwvc3ZnPg==');
}

/*.card-body {
    padding: 20px 0;
}*/

/* Step indicator styling */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 18px;
        left: 50%;
        width: 100%;
        height: 2px;
        background-color: #e0e0e0;
        z-index: 1;
    }

    .step.completed:not(:last-child)::after {
        background-color: #28a745;
    }

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    font-weight: bold;
    margin-bottom: 8px;
    z-index: 2;
}

.step.active .step-icon {
    background-color: #007bff;
    color: white;
}

.step.completed .step-icon {
    background-color: #28a745;
    color: white;
}

.step-text {
    font-size: 14px;
    text-align: center;
}

/* Tables styling */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

    .table th, .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
    }

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.075);
}

.table-sm th, .table-sm td {
    padding: 0.3rem;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Form controls */
.form-control {
    border-radius: 0!important;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.form-check-label {
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    color: black;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0!important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dropdown .btn {
    text-transform: initial !important;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #5a6268;
        border-color: #545b62;
    }

.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

    .btn-light:hover {
        color: #212529;
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }

/* Alerts */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    main {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    html, body {
        height: 100%;
     /*   overflow-x: hidden;*/
        position: relative;
    }

    .white-box {
        padding: 20px 15px;
        overflow-y: visible;
        max-height: none;
    }

    .step-indicator {
        flex-wrap: wrap;
    }

    .step {
        margin-bottom: 10px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .content-container {
        padding: 10px;
        min-height: auto;
        overflow-y: visible;
    }

    .logo-container {
        max-width: 150px;
    }

    .language-dropdown {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        text-align: right;
    }
}

/* Confirmation page styling */
.confirmation-success, .confirmation-error {
    padding: 30px 0;
}

    .confirmation-success i, .confirmation-error i {
        font-size: 5rem;
        margin-bottom: 20px;
    }

.text-success {
    color: #28a745;
}

.text-warning {
    color: #ffc107;
}

/* Utility classes */
.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-center {
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Nytt */
* {
    font-family: 'Outfit', sans-serif;
}

.form-outline .form-control ~ .form-notch .form-notch-leading {
    border-radius: 0!important;
}

.faq-link, .faq-link:active, .faq-link:visited {
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

.faq-link:hover {
    text-decoration: underline;
}

.form-outline .form-control ~ .form-notch .form-notch-trailing {
    border-radius: 0!important;
}

#select-amount .select-wrapper {
    width: 4em;
    float: right;
}

#select-reason .select-wrapper {
    width: 16em;
}

.btn-language, .lang-option {
    font-size: 0.95em !important;
}

.checkbox-r {
    width: 1.25rem; 
    height: 1.25rem; 
    border-color: #000;
}

.checkbox-r[type=checkbox]:checked {
    background-color: #000 !important;
}

.checkbox-r:checked:focus {
    border-color: #000 !important;
}

.return-reasons-container {
    font-size: 0.95em;
}

.return-reasons-container .badge {
    font-size: 0.9em !important;
}

.table-small {
    font-size: 0.8em !important;
}

.returns-table {
    border-radius: 0.0rem !important;
}

.table-btn {
    width: 10em;
    border-radius: 0.0rem !important;
    font-size: 0.85em;
}

.text-coral {
    color: #FF8D6B !important;
}

.text-success {
    color: #0c622e !important
}

.returns-table-td td {
    border: 0 !important;
}

#search {
    border-radius: 0.25rem !important;
}

.a-con {
    max-width: 1420px !important;
}

.nav-tabs {
    color: #000 !important;    
}

.nav-tabs .nav-link {
    text-transform: initial !important;
    font-size: 0.85em !important;
}

.nav-tabs .nav-link.active {
    border: 0 !important;
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

.tab-content {
    font-size: 0.9em !important;
} 

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 767px){
    #r-con-info .card-body {
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-bottom: 0px !important;
    }
}

@media screen and (max-width: 620px){
    #r-con {
        padding-top: 1em !important;
        padding-bottom: 1em !important;
        padding-left: 0.2em !important;
        padding-right: 0.2em !important;
        max-width: 100% !important;
    }

    #r-con h1 {
        text-align: left !important;
    }

    .logo-container img {
        width: 80%;
    }

    #r-con-info {
        padding-left: 0.8em !important;
        padding-right: 0.8em !important;
    }

    #r-con .row {
        margin-right: 0!important;
        margin-left: 0!important;
    }
}

.modal-content {
    border-radius: 0 !important;
}

.modal-dialog {
    border-radius: 0 !important;
}

.modal-header {
    border-radius: 0 !important;
}

.card {
    border-radius: 0 !important;
}

.card-header {
    border-radius: 0 !important;
}

#search,
#statusFilter,
.form-control,
.form-select {
    border-radius: 0 !important;
}

.pagination .page-link {
    border-radius: 0 !important;
}

.pagination .page-item.active .page-link {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

    .pagination .page-item.active .page-link:hover {
        background-color: #1a1a1a !important;
    }