body {
    font-family: 'Arial', sans-serif;
    background-color: #F8F8F8;
}

.container {
    max-width: 800px;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #FFF;
}

.logo {
    font-size: 80px;
    color: #FFD700;
    margin-bottom: 30px;
}

h1 {
    color: #444;
    font-size: 24px;
    margin-bottom: 8px;
}

a {
  text-decoration: none!important;
}

p {
    font-size: 18px;
    margin-bottom: 30px;
}

input {
    border-radius: 8px;
}

input.is-invalid {
    border-color: #FF3333;
    box-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}


.error-message {
    color: #FF3333;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* По умолчанию скрываем сообщение */
}

.alert-message {
    color: #FF3333;
    font-size: 12px;
    margin-top: 15px;
    display: none; /* По умолчанию скрываем сообщение */
}


button {
    border-radius: 8px;
    border: none;
    outline: none!important;
}

.error-message {
    margin-bottom: 15px;
}

.info {
    margin-top: 25px;
    font-size: 14px;
    color: #999;
}

.modal-dialog {
    width: 70%;

}

@media (max-width: 768px) {
    .modal-dialog {
        width: 90% !important;
        margin: 20% auto !important;
    }
}

.modal-40 {
    width: 40%;
}
.modal-content {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.modal-header, .modal-body, .modal-footer {
    padding: 20px;
}

.modal-title {
    font-size: 32px;
    color: #444;
    margin-bottom: 8px;
}

.card {
    border: none;
    margin-bottom: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.card-title {
    font-size: 20px;
    color: #444;
}

.card-text {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
}

.btn-danger {
    background-color: #FF3333;
    border-color: #FF3333;
    color: #FFF;
    border-radius: 8px;
    font-size: 18px;
    padding: 10px 20px;
    text-decoration: none;
}

.btn-danger:hover {
    background-color: #e31d1d;
    border-color: #e31d1d;
}

.subscription-management-card {
    background-color: #f8f9fa;
    padding: 0px;
    margin-bottom: 0px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.subscription-management-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-visible {
    max-height: 1000px;
    padding: 20px;
    margin-bottom: 20px;
    opacity: 1;
}

.subscription-management-text {
    margin-bottom: 20px
}

.location {
    margin-bottom: 20px
}

.subscription-management-btn {
    background-color: #ffc107;
    color: #fff;
    border: none;
}

.subscription-management-btn:hover {
    background-color: #c79910;
    color: #fff;
    outline: none;
}

#cancelAutoPayment {
    transition: all 0.3s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#createRefundPopup .modal-dialog,
#cancelRefundPopup .modal-dialog,
#confirmationPopup .modal-dialog {
    width: 30%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#createRefundPopup .modal-header,
#cancelRefundPopup .modal-header,
#confirmationPopup .modal-header {
    border-bottom: none;
}

#createRefundPopup .modal-title,
#cancelRefundPopup .modal-title,
#confirmationPopup .modal-title {
    font-size: 20px!important;
    margin-bottom: 0;
}

#createRefundPopup .modal-footer
#cancelRefundPopup .modal-footer
#confirmationPopup .modal-footer {
    padding: 15px;
}

.orange-btn, .red-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background-color: #ffc107;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  height: 48px;
  cursor: pointer;
  text-decoration: none!important;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
}

.orange-btn:hover {
  background-color: #c79910;
  color: #fff;
}

.red-btn {
  background-color: #ee4043;
  margin-right: 20px;
}

.red-btn:hover {
  background-color: #bb2d3b;
  color: #fff;
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
}


@media screen and (max-width: 600px) {
    .orange-btn, .red-btn {
      font-size: 14px;
    }
}

.orange-link {
  position: relative;
  color: #ee8c40!important;
  font-size: 16px;
  font-weight: 600;
  margin-right: 20px;
  padding: 5px;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.orange-link:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ee8c40;
  transition: width 0.4s ease;
}

.orange-link:hover:before {
    width: 100%;
}

.orange-link:hover {
    color: #cc752e;
}

.orange-link:hover:before {
    background-color: #cc752e;
}

.field:not(:last-child) {
    margin-bottom: 0.75rem;
}

.field.has-addons button {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.field.has-addons {
    display: flex;
    justify-content: flex-start;
}

.field.has-addons .form-control {
    height: auto;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.help {
    font-size: .75rem;
    margin-top: 0.25rem;
    margin-bottom: 0px;
}

.left-image-payment {
    max-width: 60%;
    margin-top: 10px;
}

.left-image-payment-block {
    width: 100px;
    margin-top: -14px;
    text-align: center;
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 1rem;
}

.centered-block {
    display: none;
    align-items: center;
    justify-content: center;
}

.content-small {
    font-size: .75rem;
    color: #7a7a7a!important;
}

.location-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  border: none;
  background-color: #fff;
  color: #000;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 700;
  height: 48px;
  cursor: pointer;
  text-decoration: none!important;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
}

.location-btn span {
    margin-right: 5px;
}

.location-btn:hover {
  background-color: #ffc000;
  color: #fff;
}

.location-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 15px 15px 15px;
    margin: 0;
}

.location-item {
    width: 50%;
    padding: 5px;
}

.location-link, .location-link-active {
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 10px;
    color: #1c1c1c;
    transition: background-color 0.2s ease-out;
    cursor: pointer;
}

.speed {
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid #4169db;
  color: #4169db;
  border-radius: 6px;
  padding: 5px 10px;
}

.location-img {
    margin-right: 10px;
    margin-bottom: 2px;
    height: 25px;
}

.location-link-active {
    color: #1a3378;
    background-color: #edf2ff;
    cursor: default;
}

.location-link:hover {
    background-color: #eff0f4;
}

@media (max-width: 680px) {
    .location-item {
        width: 100%;
    }
}

.line-through {
  text-decoration: line-through;
}

.status {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .location-btn {
      font-size: 14px;
      padding: 10px 20px;
    }
}
