/* Download Datasheet Button Styles - Minimal Design */
.download-datasheet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: #000000;
    border: 1px solid #d1d5db;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.download-datasheet-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.download-datasheet-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.download-datasheet-btn .icon {
    font-size: 16px;
    line-height: 1;
}

.download-datasheet-btn .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-datasheet-btn .main-text {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.2;
}

.download-datasheet-btn .sub-text {
    display: none; /* Hide subtitle for minimal design */
}

/* Dropdown Menu for Multiple Files */
.datasheet-dropdown {
    position: relative;
    display: inline-block;
}

.datasheet-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    margin-top: -1px;
}

.datasheet-dropdown.active .datasheet-dropdown-content {
    display: block;
}

.datasheet-dropdown.active .download-datasheet-btn {
    border-radius: 24px 24px 0 0;
    border-bottom-color: #d1d5db;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #000000;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f9fafb;
}

.dropdown-item .icon {
    font-size: 14px;
    color: #6b7280;
}

.dropdown-item .item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dropdown-item .item-title {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 2px;
}

.dropdown-item .item-description {
    font-size: 12px;
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .download-datasheet-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .download-datasheet-btn .icon {
        font-size: 18px;
    }
    
    .download-datasheet-btn .main-text {
        font-size: 16px;
    }
    
    .datasheet-dropdown-content {
        left: 0;
        right: 0;
    }
    
    .dropdown-item {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .dropdown-item .item-title {
        font-size: 16px;
    }
    
    .dropdown-item .item-description {
        font-size: 14px;
    }
}

/* Animation for dropdown arrow */
.download-datasheet-btn .dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 4px;
    font-size: 12px;
}

.datasheet-dropdown.active .download-datasheet-btn .dropdown-arrow {
    transform: rotate(180deg);
}

/* Download icon styling */
.download-datasheet-btn .download-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

@media (max-width: 768px) {
    .download-datasheet-btn .download-icon {
        width: 18px;
        height: 18px;
    }
}

