@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-color: #23567D;
    --secondary-color: #4E609D;
    --tertiary-color: #045881;
    --primary-button-color: #19BBB7;
    --Gray-100: #F2F4F7;
    --Gray-800: #1D2939;

}
.text--color-primary {
    color: var(--primary-color) !important;
}
.text-button-color {
    color: var(--primary-button-color) !important;
}
.text--color-secondary {
    color: var(--secondary-color) !important;
}
.text--color-tertiary {
    color: var(--tertiary-color);
}
.heading-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.text-bold {
    font-weight: 700 !important;
    font-size: 16px !important;
}

.primary-button {
      background: var(--primary-button-color);
        border-radius: 8px;
        padding: 8px 16px;
        font-size: 18px;
        color: #fff;
        gap: 8px;

        height: 40px;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease;
        font-weight: 700;
        font-size: 16px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
}

.secondary-button {
    background: white;
    border: 2px solid var(--primary-button-color);
    color: var(--primary-button-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-muted{
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: normal !important;
}
.auth-input-label {
    color: #23567D;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 6px;
    line-height: 20px;
}

.form-check-input:checked[type=checkbox] {
    background-color: #19BBB7 !important;
    border-color: #19BBB7 !important;
}

.form-control-color{
    width: 40px !important;
}

.shepherd-header,
.shepherd-footer {
    display: none !important;
}

.shepherd-content {
    padding: 16px;
    position: relative;
}

.shepherd-text {
    margin-bottom: 0;
}

.tour-heading {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.tour-content {
    color: var(--Gray-800);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tour-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

.tour-exit-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.tour-exit-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

.tour-btn-next,
.tour-btn-prev,
.tour-btn-complete {
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.tour-btn-next {
    background-color: var(--primary-button-color);
    color: #fff;
}

.tour-btn-next:hover {
    opacity: 0.9;
}

.tour-btn-prev {
    background-color: #e9ecef;
    color: var(--Gray-800);
}

.tour-btn-prev:hover {
    background-color: #dee2e6;
}

.tour-btn-complete {
    background-color: #198754;
    color: #fff;
}

.tour-btn-complete:hover {
    background-color: #157347;
}

button[id*="tour-btn"],
button[id*="tour"][id*="btn"] {
    position: fixed;
    bottom: 50px;
    left: 20px;
    z-index: 1000;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

button[id*="tour-btn"]:hover,
button[id*="tour"][id*="btn"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    button[id*="tour-btn"],
    button[id*="tour"][id*="btn"] {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 40px;
    }

    button[id*="tour-btn"]:hover,
    button[id*="tour"][id*="btn"]:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

@media (max-width: 480px) {
    button[id*="tour-btn"],
    button[id*="tour"][id*="btn"] {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 13px;
    width: 145px;
    }

button[id*="tour-btn"] i,
    button[id*="tour"][id*="btn"] i {
        font-size: 20px;
        margin: 0;
    }
}

.custom-modal .custom-modal-header .modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.custom-modal .custom-modal-header .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
