* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  /* padding: 2em; */
  width: 100%;
  margin: auto;
}

/*
 Loading klarna
*/
.loading {
  z-index: -5;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items:center;
  transition: 0.5s;
  position:fixed;
  top:0;
  width:100%;
  height:100%;
}

.loading::after {
  content: "";
  width: 37.6px;
  height: 37.6px;
  border: 8px solid #bbdbfc;
  border-top-color: #0c6cf2;
  border-radius: 50%;
  animation: loading 1s linear infinite;
}

@keyframes loading {
  to {
    transform: rotate(1turn);
  }
}

.content {
  transition: 0.5s;
  opacity:0;
}
/* End loading klarna */

.header-container {
  width: 100%;
  height: 110px;
  background-color: #449194;
  margin-bottom: 50px;
  padding: 10px;
}
.header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  max-width: 500px;
  height: auto;
  color: white;
  list-style-type: none;
  margin: auto;
  padding: 0;
}
.header-top-items {
  align-self: center;
}
.item-link {
  color: white;
  text-align: center;
  text-decoration: none;
}
.item-img {
  width: 90px;
  height: auto;
}

.whatsapp-contact img{
  margin: 15px;
  width: 60px;
  height: auto;
  position: fixed;
  bottom: 0px;
  left: 10px;
  z-index: 999;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0.8em;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5em;
  color: #333;
  font-size: 0.9em;
}

input[type="number"] {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9em;
}
.klarnaVilkor{
  font-size: 12px;
  color: #999999;
}

button {
  display: block;
  background-color: #0099ff;
  color: #fff;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007acc;
}

.result {
  padding: 2em 0;
  text-align: center;
  font-size: 1em;
  color: #333;
  margin-top: 1em;
}

.footer {
  display: block;
  background-color: #223544;
  margin-top: 50px;
  width: 100%;
  height: auto;
}
.footer-top {
  color: #e0e0e0;
}
.footer-container {
  max-width: fit-content;
  margin: 0 auto;
  padding: 2em;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.footer-brand {
  max-width: 500px;
}
.footer-contact {
  margin-bottom: 30px;
}
.contact-title {
  padding-top: 20px;
  padding-bottom: 5px;
}
.footer-list {
  list-style-type: none;
  margin-top: 10px;
  padding: 0;
}
.contact-item {
  padding-top: 5px;
}
.cooperation-companies {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: auto;
}
.coop {
  height: 50px;
  width: auto;
  padding: 10px 2px;
}
.footer-bottom {
  color: aliceblue;
  background: #0e1922;
  padding-block: 20px;
  text-align: center;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #449194;
    box-shadow: 0 0 0 2px rgba(68, 145, 148, 0.2);
}

.summary-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.summary-section h3 {
    color: #449194;
    margin-bottom: 15px;
}

.summary-section p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
}

.summary-section strong {
    color: #495057;
}

/* Confirmation Card Styles */
.confirmation-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin: 40px auto;
    max-width: 500px;
    border: 1px solid #e9ecef;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.confirmation-logo {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
}

.confirmation-header h2 {
    color: #449194;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.confirmation-details {
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.total {
    font-size: 18px;
    font-weight: 600;
    color: #449194;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
}

.detail-label {
    color: #666;
    font-size: 14px;
}

.detail-value {
    font-weight: 500;
    color: #333;
}

.confirmation-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
}

.footer-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.share-btn.whatsapp:hover {
    background-color: #128C7E;
}

.share-btn.copy {
    background-color: #f0f0f0;
    color: #333;
}

.share-btn.copy:hover {
    background-color: #e0e0e0;
}

.share-btn ion-icon {
    font-size: 18px;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.payment-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.klarna-container {
  margin-bottom: 20px;
}

.paypal-container {
  margin-top: 20px;
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.payment-header:hover {
  background: #e9ecef;
}

.payment-header h3 {
  color: #333;
  font-size: 1.2em;
  margin: 0;
  flex-grow: 1;
}

.toggle-icon {
  font-size: 1.2em;
  color: #666;
  transition: transform 0.3s ease;
}

.payment-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-logo {
  height: 40px;
  width: auto;
}

.paypal-button-container {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}
