/* Custom CSS for VelYr */
body {
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #EAEAEA;
    border-radius: 10px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}

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

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Swipe animations */
.swipe-out-left {
    transform: translateX(-150%) rotate(-15deg) !important;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.swipe-out-right {
    transform: translateX(150%) rotate(15deg) !important;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.swipe-returning {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Custom Profile Card styling from screenshot */
.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    border: 1px solid #EAEAEA;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.section-card {
    background: #FFFFFF;
    border: 1px solid #F0ECE1;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.interest-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    margin-right: 8px;
    margin-bottom: 8px;
}

.interest-pill-blue { border-color: #2196F3; color: #1976D2; background: #E3F2FD; }
.interest-pill-red { border-color: #E53935; color: #D32F2F; background: #FFEBEE; }
.interest-pill-green { border-color: #4CAF50; color: #388E3C; background: #E8F5E9; }

/* Read more gradient mask */
.text-mask {
    position: relative;
    max-height: 80px;
    overflow: hidden;
}
.text-mask::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.profile-container {
    height: calc(100% - 70px); /* Leave room for bottom bar */
    overflow-y: auto;
    padding-bottom: 20px;
}

/* iOS safe area for bottom action bar */
.safe-pb {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}
