.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.btn-theme {
    background: #1abc9c;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    background: #16a085;
    transform: scale(1.05);
}

.btn-theme04 {
    background: #e74c3c;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-theme04:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 0 0.2rem rgba(26, 188, 156, 0.25);
}

.btn-group-toggle .btn {
    border-radius: 25px;
    margin: 0 5px;
    padding: 8px 20px;
}

.alert-info {
    border-radius: 10px;
    background: #e8f6f3;
    border-color: #1abc9c;
    color: #16a085;
}

.booking-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
}

.booking-details.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.booking-info {
    margin-top: 15px;
    padding: 15px;
    background: #e8f6f3;
    border-radius: 4px;
    display: none;
}

.booking-info.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.time-picker {
    margin-top: 10px;
}

.time-picker select {
    border-radius: 4px;
    padding: 6px;
    border: 1px solid #ddd;
    width: 100%;
    height: 34px;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

#message {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Style untuk datepicker */
.datepicker {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
    background: #fff;
}

.datepicker-dropdown {
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 280px;
    max-width: 100%;
}

.datepicker table {
    width: 100%;
    margin: 0;
}

.datepicker table tr td,
.datepicker table tr th {
    padding: 5px;
    text-align: center;
    border-radius: 4px;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
    background-color: #1abc9c !important;
    background-image: none;
    color: #fff;
}

.datepicker table tr td.today {
    background-color: #e8f6f3 !important;
    background-image: none;
    color: #16a085;
}

.input-group-addon {
    background: #1abc9c;
    color: white;
    border: none;
    border-radius: 4px 0 0 4px;
}

.input-group .form-control {
    border-radius: 0 4px 4px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .datepicker-dropdown {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
    }

    .booking-details {
        padding: 10px;
    }

    .booking-info {
        padding: 10px;
    }

    .time-picker select {
        height: 38px;
    }
}

@media (max-width: 480px) {

    .datepicker table tr td,
    .datepicker table tr th {
        padding: 3px;
    }

    .input-group-addon {
        padding: 6px 8px;
    }
}

/* Style untuk input number */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"]:placeholder-shown {
    color: #999;
}

input[type="number"]:not(:placeholder-shown) {
    color: #333;
}

.content-panel {
    position: relative;
    z-index: 1;
}

.success-card {
    position: relative;
    z-index: 2;
}

.qr-code-container .qr-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    overflow: visible !important;
    height: auto !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 3 !important;
}

.qr-code-container .qr-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(50, 205, 50, 0.2) 25%,
        rgba(50, 205, 50, 0.8) 50%,
        rgba(50, 205, 50, 0.2) 75%,
        transparent 100%
    );
    border-radius: 16px;
    z-index: 4 !important;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 100%;
    filter: blur(1px);
}

@keyframes borderGlow {
    0% {
        background-position: 200% 0;
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: -200% 0;
        opacity: 0.5;
    }
}

.qr-code-container .qr-card .card-body {
    position: relative;
    z-index: 4;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem !important;
}

.qr-code-container .qr-header {
    margin-bottom: 1.5rem;
}

.qr-code-container .qr-header i {
    color: #1abc9c;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.qr-code-container .qr-header h5 {
    color: #2c3e50;
    font-weight: 600;
    margin: 0.5rem 0;
}

.qr-code-container .qr-header p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.qr-code-container .qr-image-container {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem auto;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.qr-code-container .qr-image-container img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.qr-code-container .qr-footer {
    margin-top: 1.5rem;
}

.qr-code-container .qr-footer .badge {
    background: #1abc9c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.qr-code-container .qr-footer .badge i {
    margin-right: 5px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    background: #dff0d8;
    position: relative;
    margin-bottom: 20px;
}

.checkmark:after {
    content: '';
    position: absolute;
    left: 26px;
    top: 14px;
    width: 22px;
    height: 44px;
    border: solid #3c763d;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-control[readonly] {
    background-color: #fff;
}

.input-group-btn .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mt-4 {
    margin-top: 25px;
}

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

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }
  
  .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
  }

/* Style untuk checkbox booking penginapan */
.booking-toggle-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.booking-toggle-container:hover {
    border-color: #1abc9c;
    box-shadow: 0 2px 8px rgba(26, 188, 156, 0.1);
}

.booking-toggle-container .checkbox {
    margin: 0;
}

.booking-toggle-container label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.booking-toggle-container label:hover {
    color: #1abc9c;
}

.booking-toggle-container input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #1abc9c;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.booking-toggle-container input[type="checkbox"]:checked {
    background-color: #1abc9c;
    border-color: #1abc9c;
}

.booking-toggle-container input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.booking-toggle-container input[type="checkbox"]:hover {
    border-color: #16a085;
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.2);
}

.booking-toggle-container input[type="checkbox"]:checked:hover {
    background-color: #16a085;
    border-color: #16a085;
}

.share-link .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.share-link .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.share-link .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.success-card {
    max-width: 600px;
    margin: 40px auto;
    border: 1px solid #d6e9c6;
    border-radius: 6px;
    background-color: #f9fdf7;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    animation: slideIn 0.5s ease-out;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    background: #dff0d8;
    position: relative;
    margin-bottom: 20px;
}

.checkmark:after {
    content: '';
    position: absolute;
    left: 26px;
    top: 14px;
    width: 22px;
    height: 44px;
    border: solid #3c763d;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-control[readonly] {
    background-color: #fff;
}

.input-group-btn .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mt-4 {
    margin-top: 25px;
}

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

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }
  
  .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
  }

/* Style untuk checkbox booking penginapan */
.booking-toggle-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.booking-toggle-container:hover {
    border-color: #1abc9c;
    box-shadow: 0 2px 8px rgba(26, 188, 156, 0.1);
}

.booking-toggle-container .checkbox {
    margin: 0;
}

.booking-toggle-container label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.booking-toggle-container label:hover {
    color: #1abc9c;
}

.booking-toggle-container input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #1abc9c;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.booking-toggle-container input[type="checkbox"]:checked {
    background-color: #1abc9c;
    border-color: #1abc9c;
}

.booking-toggle-container input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.booking-toggle-container input[type="checkbox"]:hover {
    border-color: #16a085;
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.2);
}

.booking-toggle-container input[type="checkbox"]:checked:hover {
    background-color: #16a085;
    border-color: #16a085;
}