/* assets/css/style.css - Premium Friendly UI */
:root {
    --badoo-purple: #8e44ad;
    --badoo-light-purple: #a29bfe;
    --badoo-dark-purple: #6c5ce7;
    --white: #ffffff;
    --light-bg: #fdfbff;
    --dark-text: #2d3436;
    --gray-text: #636e72;
    --accent-pink: #fd79a8;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 100px;
}

/* Navbar Customization */
.navbar-custom {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-custom .navbar-brand {
    color: var(--badoo-purple);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
}

/* rodape */
footer{
    margin-top: 20px!important;
}

/* Friendly Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--badoo-purple), var(--badoo-dark-purple));
    border: none;
    color: var(--white);
    border-radius: 25px;
    padding: 0.7rem 1.8rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(108, 92, 231, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 20px rgba(108, 92, 231, 0.3);
    color: white;
}

.btn-outline-custom {
    color: var(--badoo-purple);
    border: 2px solid var(--badoo-purple);
    border-radius: 25px;
    font-weight: 600;
}

/* Soft Cards */
.card-custom {
    border: none;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: white;
    overflow: hidden;
}

/* Floating Bottom Nav - Friendly & Playful */
.bottom-nav {
position: fixed;
  bottom: 25px;
  left: 20px;
  right: 20px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 2000;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 6px;

}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #b2bec3;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bottom-nav-item i {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: var(--badoo-purple);
    transform: translateY(-8px);
}

/* Discovery Overlays */
.discovery-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8rem 1.8rem 2.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: white;
    border-radius: 0 0 32px 32px;
}

.card-title-discovery {
    font-size: 2.2rem;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Swipe Indicators */
.swipe-indicator {
    position: absolute;
    top: 50px;
    padding: 10px 25px;
    border: 8px solid;
    border-radius: 20px;
    font-weight: 900;
    font-size: 3rem;
    opacity: 0;
    z-index: 1001;
    text-transform: uppercase;
}

.swipe-indicator.like {
    right: 30px;
    color: #55efc4;
    border-color: #55efc4;
    transform: rotate(-10deg);
}

.swipe-indicator.pass {
    left: 30px;
    color: #ff7675;
    border-color: #ff7675;
    transform: rotate(10deg);
}

/* Discovery Actions - More Evident */
.discovery-actions {
    position: absolute;
    bottom: -58px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 100;
}

.action-btn-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn-lg:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.action-btn-lg.btn-pass {
    color: #ff7675;
}

.action-btn-lg.btn-like {
    color: #55efc4;
    font-size: 2.8rem;
}

/* Profile Redesign - Friendly & Clean */
.profile-header-new {
    background: linear-gradient(135deg, #fdfbff 0%, #f3ebff 100%);
    border-radius: 40px;
    padding: 3rem 2rem;
    position: relative;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(120, 81, 169, 0.05);
}

.profile-avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.profile-avatar-new {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.profile-actions-top {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
}

.btn-icon-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-icon-action:hover {
    background: var(--badoo-purple);
    color: white;
    transform: rotate(15deg);
}

.btn-icon-action.btn-logout:hover {
    background: #ff7675;
}

/* Gallery Thumbnails Limit */
.gallery-grid-limited {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

.gallery-item-new {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item-new:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(120, 81, 169, 0.15);
}

.gallery-item-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tab Premium Navigation */
.nav-pills-friendly {
    background: #f1f2f6;
    padding: 8px;
    border-radius: 30px;
    display: inline-flex;
    margin-bottom: 2rem;
}

.nav-pills-friendly .nav-link {
    border-radius: 25px;
    padding: 10px 22px;
    color: var(--gray-text);
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}

.nav-pills-friendly .nav-link.active {
    background: white;
    color: var(--badoo-purple);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Google Login Button */
.btn-google {
    background: white;
    color: #444;
    border: 1px solid #ddd;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    color: #444;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* Quiz Styles - Playful & Modern */
.quiz-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(120, 81, 169, 0.1);
    position: relative;
    overflow: hidden;
}

.quiz-progress {
    height: 10px;
    background: #f1f2f6;
    border-radius: 5px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--badoo-purple), #a29bfe);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-step {
    display: none;
    animation: slideIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e9ecef;
    border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--badoo-purple);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.1);
}

.filter-badge {
    background: var(--badoo-purple);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.age-input-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    align-items: center;
}

.age-input-group input {
    background: transparent !important;
    text-align: center;
    font-weight: bold;
    color: var(--badoo-purple);
}

/* Icon Location Button */
.btn-location-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    color: var(--badoo-purple);
    transition: all 0.2s;
}

.btn-location-icon:hover {
    background: var(--badoo-purple);
    color: white;
    transform: translateY(-2px);
}

.quiz-option {
    border: 2px solid #f1f2f6;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--gray-text);
}

.quiz-option:hover {
    border-color: var(--badoo-purple);
    background: rgba(120, 81, 169, 0.05);
    transform: scale(1.02);
}

.quiz-option.selected {
    border-color: var(--badoo-purple);
    background: var(--badoo-purple);
    color: white;
}

.quiz-option i {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Autocomplete in Quiz */
#quiz-location-results {
    position: absolute;
    width: calc(100% - 80px);
    z-index: 1000;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Chat System - Premium & WhatsApp Inspired */
.chat-container {
    height: calc(100vh - 350px);
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--badoo-purple) transparent;
}

.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-thumb {
    background-color: var(--badoo-purple);
    border-radius: 10px;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    margin-bottom: 5px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--badoo-purple), var(--badoo-dark-purple));
    color: white;
    border-bottom-right-radius: 4px;
}

.message.received {
    align-self: flex-start;
    background: white;
    color: var(--dark-text);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Chat Input Area */
.chat-input-wrapper {
    flex-grow: 1;
    background: #f1f3f4;
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
}

.chat-input-field {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    padding: 5px 0;
    font-size: 0.95rem;
}

.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-mic {
    background: #f1f3f4;
    color: var(--gray-text);
}

.btn-mic.recording {
    background: #ff4757;
    color: white;
    animation: pulseMic 1.5s infinite;
}

@keyframes pulseMic {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Gallery Request/Granted Cards */
.gallery-request-card,
.gallery-granted-card {
    border-radius: 15px !important;
    transition: transform 0.2s ease;
    border: 1px solid rgba(138, 43, 226, 0.1) !important;
    background: white !important;
    color: var(--dark-text) !important;
}

.gallery-granted-card .icon-circle {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.text-purple {
    color: var(--badoo-purple) !important;
}

.bg-purple-light {
    background: rgba(138, 43, 226, 0.08) !important;
}

/* Global Notification Bar */
.global-notification-bar {
    position: fixed;
    top: 15px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 12px 20px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    user-select: none;
    max-width: 500px;
    margin: 0 auto;
}

.global-notification-bar.show {
    transform: translateY(0);
}

.global-notification-bar.swiping {
    transition: none;
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--badoo-purple);
}

.notification-content {
    flex: 1;
    overflow: hidden;
}

.notification-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--badoo-purple);
    margin-bottom: 2px;
}

.notification-text {
    font-size: 0.85rem;
    color: var(--gray-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}