/**
 * Effects Utilities
 * Opacity, transitions, and other visual effects
 * Following Tailwind CSS notation
 */

/* ===== Opacity ===== */
.opacity-0 {
	opacity: 0 !important;
}

.opacity-5 {
	opacity: 0.05 !important;
}

.opacity-10 {
	opacity: 0.1 !important;
}

.opacity-20 {
	opacity: 0.2 !important;
}

.opacity-30 {
	opacity: 0.3 !important;
}

.opacity-40 {
	opacity: 0.4 !important;
}

.opacity-50 {
	opacity: 0.5 !important;
}

.opacity-60 {
	opacity: 0.6 !important;
}

.opacity-70 {
	opacity: 0.7 !important;
}

.opacity-80 {
	opacity: 0.8 !important;
}

.opacity-90 {
	opacity: 0.9 !important;
}

.opacity-100 {
	opacity: 1 !important;
}

/* ===== Pointer Events ===== */
.pointer-events-none {
	pointer-events: none !important;
}

.pointer-events-auto {
	pointer-events: auto !important;
}

/* ===== Cursor ===== */
.cursor-auto {
	cursor: auto;
}

.cursor-default {
	cursor: default;
}

.cursor-pointer {
	cursor: pointer;
}

.cursor-wait {
	cursor: wait;
}

.cursor-text {
	cursor: text;
}

.cursor-move {
	cursor: move;
}

.cursor-not-allowed {
	cursor: not-allowed;
}

/* ===== User Select ===== */
.select-none {
	user-select: none;
}

.select-text {
	user-select: text;
}

.select-all {
	user-select: all;
}

.select-auto {
	user-select: auto;
}

/* ===== Box Shadow ===== */
.shadow-none,
.shadow-none img {
	box-shadow: none !important;
}

.filter-shadow-sm,
.filter-shadow-sm img {
	filter: drop-shadow(0.05rem 0.05rem 0.1rem rgba(50, 50, 50, 0.2));
}

.filter-shadow-md,
.filter-shadow-md img {
	filter: drop-shadow(1px 1px 3px rgba(50, 50, 50, 0.4));
}

/* ===== Responsive Effects ===== */
@media (max-width: 544px) {
	[class~="sm:opacity-0"] { opacity: 0 !important; }
	[class~="sm:opacity-50"] { opacity: 0.5 !important; }
	[class~="sm:opacity-100"] { opacity: 1 !important; }
	[class~="sm:pointer-events-none"] { pointer-events: none !important; }
	[class~="sm:pointer-events-auto"] { pointer-events: auto !important; }
	[class~="sm:cursor-pointer"] { cursor: pointer; }
	[class~="sm:select-none"] { user-select: none; }
}

@media (max-width: 781px) {
	[class~="md:opacity-0"] { opacity: 0 !important; }
	[class~="md:opacity-50"] { opacity: 0.5 !important; }
	[class~="md:opacity-100"] { opacity: 1 !important; }
	[class~="md:pointer-events-none"] { pointer-events: none !important; }
	[class~="md:pointer-events-auto"] { pointer-events: auto !important; }
	[class~="md:cursor-pointer"] { cursor: pointer; }
	[class~="md:select-none"] { user-select: none; }
}

@media (min-width: 782px) {
	[class~="lg:opacity-0"] { opacity: 0 !important; }
	[class~="lg:opacity-50"] { opacity: 0.5 !important; }
	[class~="lg:opacity-100"] { opacity: 1 !important; }
	[class~="lg:pointer-events-none"] { pointer-events: none !important; }
	[class~="lg:pointer-events-auto"] { pointer-events: auto !important; }
	[class~="lg:cursor-pointer"] { cursor: pointer; }
	[class~="lg:select-none"] { user-select: none; }
}

/* Glass */
.glass {
	background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            rgba(255,255,255,.05)
        );

    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255,255,255,.18);

    box-shadow:
        inset 0 1px rgba(255,255,255,.25),
        0 10px 40px rgba(0,0,0,.2);

    border-radius: 12px;
}


/* Glass light */
/* .glass-light {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(247,248,250,.90)
        );

    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);

    border: 1px solid rgba(255,255,255,.75);

    border-radius: 16px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.9),
        0 10px 40px rgba(15,23,42,.08);
} */

.glass-light {
    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);

    border: 1px solid rgba(229, 231, 235, 0.9);

    border-radius: 16px;

    box-shadow:
       inset 0 1px rgba(255,255,255,.9),
    0 12px 24px -12px rgba(15,23,42,.20);
}

/* Glass dark */
.glass-dark {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            rgba(255,255,255,.05)
        );

    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 16px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.25),
        0 10px 40px rgba(0,0,0,.20);
}