/* Custom CSS for IcyFreeze CRM - No build process needed */

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Enhanced toggle switch styles */
.peer:checked ~ div {
    background-color: #4F46E5 !important;
}

.peer:focus ~ div {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3);
}

.peer:checked ~ div:after {
    transform: translateX(100%);
    border-color: white;
}

.peer ~ div:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: white;
    border: 1px solid #D1D5DB;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    transition: all 0.2s ease-in-out;
}

.peer ~ div {
    width: 44px;
    height: 24px;
    background-color: #E5E7EB;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.peer:checked ~ div:after {
    transform: translateX(20px);
}

/* Hover effects */
.peer ~ div:hover {
    background-color: #D1D5DB;
}

.peer:checked ~ div:hover {
    background-color: #4338CA !important;
}

/* Pipeline board styles */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pipeline-card:hover {
    transform: translateY(-1px);
}

.stage-cards {
    transition: background-color 0.2s, border-color 0.2s;
}

.pipeline-card {
    transition: all 0.2s ease;
}

.pipeline-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sidebar transition */
.sidebar-transition { 
    transition: transform 0.3s ease-in-out; 
}

/* Step styles for setup wizard */
.step-active { 
    display: block; 
}

.step-inactive { 
    display: none; 
}

/* Alpine.js cloak */
[x-cloak] { 
    display: none !important; 
}

.leftsidebar_cstm {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.leftsidebar_cstm .Sidebar_menu {
	overflow-y: auto;
	padding-bottom: 100px;
	scrollbar-width: none;
}
.leftsidebar_cstm .sidebar_username {
	background: #fff;
}

/* Pending Payments Card - Orange Gradient */
.pending-payments-card {
    background: linear-gradient(to bottom right, #f97316, #ea580c) !important;
}

.pending-payments-card * {
    color: white !important;
}

.pending-payments-card .text-orange-100 {
    color: #fed7aa !important;
}
