/* Custom styles for Conference Management System */

/* Smooth transitions for all elements */
* {
    transition: all 0.2s ease-in-out;
}

/* Custom focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button hover effects */
.btn-hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

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

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

/* Status badge styles */
.status-urgent {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Form validation styles */
.form-error {
    border-color: #ef4444 !important;
}

.form-success {
    border-color: #10b981 !important;
}

/* Navigation active state */
.nav-active {
    color: #3b82f6 !important;
    font-weight: 600;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column;
    }
    
    .mobile-full {
        width: 100%;
    }
    
    .mobile-text-center {
        text-align: center;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-after: always;
    }
}

/* Custom utility classes */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.min-h-screen-minus-nav {
    min-height: calc(100vh - 80px);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Custom border styles */
.border-dashed-primary {
    border: 2px dashed #3b82f6;
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

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

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Conference card specific styles */
.conference-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.conference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Status indicator styles */
.status-indicator {
    position: relative;
    display: inline-block;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Admin panel specific styles */
.admin-action-buttons {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-conference-item:hover .admin-action-buttons {
    opacity: 1;
}

/* Form field groups */
.field-group {
    position: relative;
}

.field-group label {
    transition: all 0.2s ease;
}

.field-group input:focus + label,
.field-group input:not(:placeholder-shown) + label {
    transform: translateY(-20px) scale(0.8);
    color: #3b82f6;
}

/* Search highlight */
.search-highlight {
    background-color: #fef3c7;
    padding: 0 2px;
    border-radius: 2px;
}

/* Custom shadows */
.shadow-soft {
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
}

.shadow-strong {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.notification.error {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        background-color: #10b981;
        visibility: hidden;
    }
}