/* body {
    font-family: 'Raleway', sans-serif;
} */

* {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Opera and Firefox */
}

body {
    overflow: hidden;
}

.no-gutter {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.loading-grey {
    background: linear-gradient(-45deg, #d4d4d4, #ffffff, #d4d4d4);
    background-size: 400% 400%;
    animation: gradient 2s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.card {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0px 10px 23px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
}

.card-footer:last-child {
    border-top: 0px;
    border-radius: 0rem;
}

.card-header {
    border-bottom: 0px;
    border-radius: 0rem;
}

.shadow {
    box-shadow: 0px 10px 23px rgba(0, 0, 0, 0.08);
}

.btn-circle-small {
    border-radius: 100%;
    padding: 0.6em 0.85em !important;
}

.btn-fully-rounded {
    padding: 1em 1em;
    border-radius: 100px;
}

[data-host-device="IOS"] .tab-bar.floaty {
    margin-bottom: 22px;
}

a.tab.tab-primary {
    padding: 0px;
    background-color: var(--primary);
    padding: 13px 13px 10px 18px;
    border-radius: 39px;
    color: #FFFF;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3) !important;
}

a.tab.tab-secondary {
    opacity: 0.7;
}

a.tab.tab-secondary.active {
    opacity: 1;
    color: var(--primary)
}


.search-bar {
    border-radius: 50px;
    background-color: #FFF;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    font-size: 0.9em;
    color: rgb(63, 63, 63);
}

.search-bar>input {
    width: calc(100% - 20px);
    display: inline-block;
    padding-left: 1em;
}

.transparent-input {
    border: 0px;
    background-color: transparent;
    outline: none;
}

.link-unstyled,
.link-unstyled:visited,
.link-unstyled:hover,
.link-unstyled:active,
.link-unstyled:focus,
.link-unstyled:active:hover {
    font-style: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    text-decoration: none;
    font-variant: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    border-radius: inherit;
    border: inherit;
    outline: inherit;
    box-shadow: inherit;
    padding: inherit;
    vertical-align: inherit;
}


.badge.badge-medium {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 7px;
}

.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.base-image {
    width: 100vw;
    height: 30vh;
    overflow: hidden;
}

.btn-rounded {
    border-radius: 197px;
    padding: 0.6em 2em !important;
}

.screen-proportions {
    height: calc(100vh * 0.2 + 1em);
    width: calc(100vw * 0.2 + 1em);
}

.chip {
    padding: 0.5em 1em;
    border-radius: 50px;
    display: inline-block;
}

.circle {
    padding: 10px 16px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.cropper-point,
.cropper-point.point-se {
    background-color: #fff;
    height: 15px;
    opacity: .75;
    width: 15px;
    border-radius: 100%;
}

.cropper-view-box {
    outline: transparent;
    outline-color: transparent;
}

.cropper-line {
    background-color: transparent;
}

.cropper-bg {
    background-image: unset;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    position: absolute;
    left: 0px;
    top: 0px;
}


.tab-bar.floaty {
    margin: 12px;
    border-radius: 6px 6px 30px 30px;
    box-shadow: 0px 10px 50px rgb(40 44 116 / 18%);
}
.card.selectable{
    transition: 0.2s;
    cursor: pointer;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.card.selectable:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.backdrop {
    z-index: 999999;
    background-color: #ffffff8a;
    backdrop-filter: blur(3px);
}

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    aspect-ratio: 16/9;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s;
}
.showing {
    opacity: 1;
    z-index: 2;
}

[hidden] {
    display: none !important;
}

textarea {
    resize: none;
}

.form-group {
    margin-bottom: 1rem;
}

.accordion-item:last-of-type {
    overflow: hidden;
}

.text-right {
    text-align: right;
}

.wide-container {
    width: 100%;
    padding-top: 56.25%;
    /* 1:1 Aspect Ratio */
    position: relative;
    /* If you want text inside of it */
}

.wide-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

hr {
    color: #cfcfcf;
}

.card.selected {
    outline: 2px solid var(--primary);
    transition: 0.1s;
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    -ms-transition: 0.1s;
    -o-transition: 0.1s;
}

img.cover-image {
      height: 100%;
      object-fit: cover;
      object-position: center;
      margin: auto;
      min-width: 100%;
      vertical-align: middle;
}

.choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    border: 1px solid #dee2e6;
    appearance: none;
    background: transparent;
    padding: 0.375rem 1rem !important;
    transition: 0.2s;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
}

.choices__item {
    width: 100%;
    white-space: pre;
    white-space-collapse: preserve;
    text-wrap-mode: nowrap;
    text-overflow: ellipsis;
}

.is-open .choices__inner {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

.is-focused .choices__inner, 
.is-open .choices__inner {
  border-color: var(--primary);
}

.choices__list {
    max-height: 150px;
}

.h-100-keyboard {
    height: calc(100% - env(keyboard-inset-height, 0px)) !important;
    transition: 0.2s;
}

.keyboard-height {
    height: env(keyboard-inset-height, 0px) !important;
}

.env-safe-top {
    padding-top: env(safe-area-inset-top, 0px) !important;
}

.tab-bar {
    z-index: 999;
}

.slider-dots {
    z-index: 9999;
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: end;
    
}

.slider-dot {
    width: 5px;
    height: 5px;
    background-color: rgb(255 255 255 / 50%);
    border-radius: 10px;
    margin: 10px 5px;
    transition: 0.2s;
}

.slider-dot.active {
    background-color: #fff;
}

.no-touch {
    pointer-events: none;
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circle-chip {
    width: 40px;
    padding: 0px !important;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.border-primary {
    border: 1px solid var(--primary) !important;
}
/* FraudCatcher Custom Styles */

/* Floating Action Button */
.btn-fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-fab:active {
    transform: scale(0.95);
}

/* Business Cards */
.business-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.12);
}

.business-card:active {
    transform: translateY(0);
}

/* Review Cards */
.review-card {
    border-left: 3px solid var(--primary);
}

.review-card.positive {
    border-left-color: #28a745;
}

.review-card.negative {
    border-left-color: #dc3545;
}

/* Rating Stars */
.rating-stars {
    display: inline-flex;
    gap: 2px;
}

.rating-stars i {
    font-size: 0.9rem;
}

.rating-input {
    cursor: pointer;
    user-select: none;
}

.rating-input .star {
    font-size: 2rem;
    color: #ddd;
    transition: color 0.2s ease;
    cursor: pointer;
}

.rating-input .star.active {
    color: #ffc107;
}

.rating-input .star:hover {
    color: #ffc107;
}

/* Business Type Badge */
.business-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.business-type-badge.company {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.business-type-badge.individual {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Review Type Badge */
.review-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.review-type-badge.fraud {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.review-type-badge.legitimate {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Image Preview */
.image-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.image-preview img {
    width: 100%;
    border-radius: 0.5rem;
    border: 2px solid #dee2e6;
}

.image-preview .remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.image-preview .remove-image:hover {
    background: rgba(220, 53, 69, 1);
}

/* Contact Info Display */
.contact-info {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 0.75rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(-45deg, #f0f0f0, #f8f8f8, #f0f0f0);
    background-size: 400% 400%;
    animation: skeleton-loading 2s ease infinite;
    border-radius: 0.25rem;
}

@keyframes skeleton-loading {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 0.75rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-fab {
        bottom: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

/* Review Creation Styles */
.review-type-option {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.review-type-option:hover {
    border-color: var(--primary);
    background-color: rgba(13, 110, 253, 0.05);
}

.review-type-option input[type="radio"]:checked ~ label {
    color: var(--primary);
}

.review-type-option input[type="radio"]:checked ~ label .review-type-icon {
    background-color: var(--primary);
    color: white;
}

.review-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.2s ease;
}

.review-type-icon.fraud {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.review-type-icon.legitimate {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Rating Input Enhancement */
.rating-input {
    gap: 0.5rem;
}

.rating-input .star {
    font-size: 2.5rem;
    color: #ddd;
    transition: color 0.2s ease;
    cursor: pointer;
}

.rating-input .star.active {
    color: #ffc107;
}

.rating-input .star:hover {
    color: #ffc107;
}

/* Business Info Card */
.business-info .business-type-icon {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
}

/* Form Enhancements */
#comment {
    resize: vertical;
    min-height: 100px;
}

/* Account Page Styles */
.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
}

.stat-card {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
