/* Marine Trailer Configurator Styles */

/* Base container and custom cursor */
.configurator-container {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" fill="%231E42A3"/></svg>') 8 8, auto;
}

/* Custom cursor expansion on interactive hover */
.configurator-container a:hover,
.configurator-container button:hover,
.configurator-container .config-option:hover,
.configurator-container [configuration-id^="card-"]:hover,
.configurator-container [configuration-id^="wheel-"]:hover,
.configurator-container [configuration-id^="addon-"]:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6" fill="%231E42A3" opacity="0.8"/></svg>') 12 12, pointer;
}

/* Pangolin Scale Selection Effect */
.selected,
.config-option.selected,
[configuration-id^="card-"].selected,
[configuration-id^="wheel-"].selected,
[configuration-id^="addon-"].selected {
    border: 2px solid #1E42A3 !important;
    background: radial-gradient(circle at center, rgba(30, 66, 163, 0.08) 0%, rgba(30, 66, 163, 0.02) 100%) !important;
    box-shadow: 0 0 15px rgba(30, 66, 163, 0.2);
}

/* Hover effects with subtle scale overlay */
[configuration-id^="card-"]:hover,
[configuration-id^="wheel-"]:hover,
[configuration-id^="addon-"]:hover,
.config-option:hover {
    border-color: #1E42A3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 66, 163, 0.15);
    background-image: radial-gradient(circle at top right, rgba(30, 66, 163, 0.05) 0%, transparent 60%);
}

/* Smooth transitions */
[configuration-id^="card-"],
[configuration-id^="wheel-"],
[configuration-id^="addon-"],
.config-option {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Armored Button Effect */
.armored-btn {
    background-color: #1E42A3;
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.armored-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 111, 214, 0) 0%, rgba(74, 111, 214, 0.6) 50%, rgba(74, 111, 214, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
    z-index: -1;
}

.armored-btn:hover {
    box-shadow: 0 4px 15px rgba(30, 66, 163, 0.4);
}

.armored-btn:hover::before {
    left: 200%;
}

.armored-btn:active {
    transform: scale(0.98);
}

/* Mobile drawer styles */
@media (max-width: 768px) {
    [configuration-id="summary-card"] {
        max-height: 80px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    [configuration-id="summary-card"].expanded {
        max-height: 600px;
    }
    
    .mobile-drawer-toggle {
        padding: 1rem;
        background: #0A1628;
        color: #FFFFFF;
        text-align: center;
        cursor: pointer;
        font-weight: 600;
        border-radius: 12px 12px 0 0;
        margin: -2rem -2rem 1rem -2rem;
    }
}