/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.5;
}

/* Custom focus styles */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Form input styling */
input[type="text"] {
    @apply border border-gray-300 rounded-md px-4 py-2 w-full;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus {
    @apply border-blue-500;
}

/* Button hover effects */
.btn-hover-effect {
    transition: all 0.2s ease-in-out;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Status badges */
.status-badge {
    @apply inline-flex items-center px-3 py-1 rounded-full text-xs font-medium;
}

.status-badge-success {
    @apply bg-green-100 text-green-800;
}

.status-badge-warning {
    @apply bg-yellow-100 text-yellow-800;
}

.status-badge-danger {
    @apply bg-red-100 text-red-800;
}

.status-badge-info {
    @apply bg-blue-100 text-blue-800;
}

/* Animation for page transitions */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Footer always at bottom */
.min-h-screen {
    min-height: 100vh;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Session highlight animations */
@keyframes highlightSession {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes successHighlight {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.highlight-session {
    animation: highlightSession 2s ease-out;
}

.success-highlight {
    animation: successHighlight 2s ease-out;
}

/* Session type indicators */
.session-type {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
}

.session-type::after {
    content: "";
    position: absolute;
    top: 0;
    right: -40px;
    color: white;
    font-size: 14px;
    transform: rotate(45deg);
    transform-origin: bottom left;
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

/* Progress bar animation */
@keyframes progressFill {
    from { width: 0; }
}

.progress-bar-fill {
    animation: progressFill 1.5s ease-out;
}

/* Badge animations */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.badge-pulse {
    animation: badgePulse 2s infinite;
}

/* Card styles */
.session-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4f46e5, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.session-card:hover::before {
    opacity: 1;
}

/* Tab styles */
.tab {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab.active {
    color: #4f46e5;
    font-weight: 600;
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4f46e5, #10b981);
    border-radius: 2px;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(to right, #4f46e5, #10b981);
    transition: all 0.3s ease;
}

.btn-primary: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);
}

/* Backdrop blur */
.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
} 