/* TellMe Custom Styles */

/* Apply Inter font to all elements */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom gradient backgrounds */
.bg-gradient-pink {
    background-image: linear-gradient(to right, #ec4899, #a855f7);
}

.bg-gradient-blue {
    background-image: linear-gradient(to right, #3b82f6, #06b6d4);
}

.bg-gradient-green {
    background-image: linear-gradient(to right, #10b981, #059669);
}

.bg-gradient-orange {
    background-image: linear-gradient(to right, #f97316, #f59e0b);
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Message card hover effect */
.message-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.message-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom form styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

/* Custom button styles */
.btn-primary {
    background-image: linear-gradient(to right, #ec4899, #a855f7);
    color: white;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-image: linear-gradient(to right, #db2777, #9333ea);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Custom tab styles */
.tab-button.active-tab {
    border-color: #ec4899;
    color: #ec4899;
}

/* Custom badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 9999px;
}

.badge-pink {
    background-color: #fce7f3;
    color: #db2777;
}

.badge-blue {
    background-color: #e0f2fe;
    color: #0284c7;
}

.badge-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.badge-yellow {
    background-color: #fef3c7;
    color: #d97706;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}