.gradient-bg {
    background: #A4D464;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.card:hover {
    box-shadow: 0 35px 55px rgba(0, 0, 0, 0.15);
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.filter-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 70%;
    animation-delay: 1s;
}

.shape:nth-child(5) {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.btn-primary {
    background: linear-gradient(135deg, #A4D464 0%, #FCEB15 100%);
    color: #333;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(164, 212, 100, 0.3);
}

.btn-secondary {
    background: rgba(164, 212, 100, 0.1);
    border: 2px solid #A4D464;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #A4D464;
    color: white;
    transform: translateY(-2px);
}

.btn-blue {
    border: 2px solid #2664B9;
    color: #2664B9;
    transition: all 0.3s ease;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(38, 100, 185, 0.3);
}

.search-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #A4D464;
    box-shadow: 0 0 0 3px rgba(164, 212, 100, 0.1);
}

.input-focus:focus {
    border-color: #A4D464;
    box-shadow: 0 0 0 3px rgba(164, 212, 100, 0.1);
}

.tipus-badge {
    background: linear-gradient(135deg, #A4D464 0%, #FCEB15 100%);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: linear-gradient(45deg, #4ade80 0%, #22c55e 100%);
}

.status-inactive {
    background: linear-gradient(45deg, #f87171 0%, #ef4444 100%);
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-lift:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-strong {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .shape {
        display: none;
    }

    .card {
        margin: 1rem;
    }

    .login-card {
        margin: 1rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(164, 212, 100, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(164, 212, 100, 0.8);
}

.btn-primary:focus,
.btn-secondary:focus,
.btn-blue:focus {
    outline: 2px solid #A4D464;
    outline-offset: 2px;
}

.search-input:focus,
.input-focus:focus {
    outline: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #A4D464;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}