

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Dropdown menu */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

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

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

.dropdown-item:hover {
    background-color: var(--bg-main);
}

.dropdown-item i {
    color: var(--primary-blue);
    font-size: 14px;
    width: 16px;
}

/* Responsiivisuus */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        gap: 8px;
    }

    .info-value {
        text-align: left;
        max-width: 100%;
    }

    .chart-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start !important;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .custom-table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}



.note-item.note-system {
    background-color: #dbeafe;
    border-left: 4px solid #2563eb;
}
.note-item.note-seller {
    background-color: #ebfedb;
    border-left: 4px solid #7eeb25;
}
.note-item.note-aspa {
    background-color: #fafedb;
    border-left: 4px solid #ebc725;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    width: 16px;
    color: var(--primary-blue-light);
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.note-item {
    background-color: #fef9e7;
    border-left: 4px solid var(--primary-orange);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.note-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.note-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.note-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    flex: 1;
}

.note-staff {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    white-space: nowrap;
    align-self: flex-end;
}

.action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}