/* SmartLawn AI — Custom Styles */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Alpine cloak */
[x-cloak] { display: none !important; }

/* Smooth transitions */
* {
    scrollbar-width: thin;
    scrollbar-color: #374151 transparent;
}

/* Card hover effect */
.bg-gray-900 {
    transition: border-color 0.2s ease;
}
.bg-gray-900:hover {
    border-color: #374151;
}

/* Phase collapse animation */
[x-collapse] {
    overflow: hidden;
}

/* Modal backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Tab active indicator glow */
nav button[class*="text-lawn-400"] {
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* Textarea monospace for JSON */
textarea[rows="15"] {
    tab-size: 2;
}

/* Pulse animation for active phase badge */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.2); }
    50% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

.border-lawn-800 {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    nav { -webkit-overflow-scrolling: touch; }
    main { padding-left: 1rem; padding-right: 1rem; }
}
